0.7.0 • Published 19 days ago

@blaze-react/multiselect v0.7.0

Weekly downloads
432
License
ISC
Repository
-
Last release
19 days ago

Description

MultiSelect is a component that allows you to select multiple items with check boxes. It is useful for labeling, contact lists, country selectors, etc.

Usage

const data = {
  identification: "id",
  keyValue: "name",
  filterBy: ["name", "description"],
  data: [
    {
      show: true,
      checked: true,
      id: 1,
      name: "Blaze",
      description: "Lorem ipsum dolor."
    },
    {
      show: true,
      checked: false,
      id: 2,
      name: "KP",
      description: "Aliquam tincidunt."
    },
    {
      show: true,
      checked: true,
      id: 3,
      name: "Pulser",
      description: "Vestibulum auctor."
    }
  ]
};

<Multiselect data={data} />;

onItemsRendered

When the select options are scrolled if the onItemsRendered prop and isDynamic is false is set then this component will call it passing in the current start and stop indexes of the option items on display e.g.

const onItemsRendered = ({ startIndex: 0, stopIndex: 20 }) => ...;

API

Multiselect can receive a number of props as follow:
NAMETYPEDEFAULT
dataObject{}
limitNumber0
placeholderString'Search'
toggleButtonStringempty
selectedFunction() => {}
getSelectedFunction() => {}
onItemsRenderedFunction() => {}
isDynamicBooleantrue
childrensingle/array of nodesempty
0.8.0-alpha.33

19 days ago

0.8.0-alpha.35

19 days ago

0.8.0-alpha.31

19 days ago

0.8.0-alpha.26

2 months ago

0.8.0-alpha.24

2 months ago

0.8.0-alpha.23

2 months ago

0.8.0-alpha.21

2 months ago

0.8.0-alpha.14

2 months ago

0.8.0-alpha.16

2 months ago

0.8.0-alpha.11

2 months ago

0.8.0-alpha.10

2 months ago

0.8.0-alpha.13

2 months ago

0.8.0-alpha.19

2 months ago

0.8.0-alpha.18

2 months ago

0.8.0-alpha.20

2 months ago

0.8.0-alpha.9

2 months ago

0.8.0-alpha.7

3 months ago

0.8.0-alpha.6

3 months ago

0.8.0-alpha.4

3 months ago

0.7.0

6 months ago

0.6.6

8 months ago

0.6.4

9 months ago

0.6.2

9 months ago

0.6.0

10 months ago

0.5.31

10 months ago

0.5.30

10 months ago

0.5.28

10 months ago

0.5.27

12 months ago

0.5.26

1 year ago

0.5.23

1 year ago

0.5.19

1 year ago

0.5.17

1 year ago

0.5.15

1 year ago

0.5.13

1 year ago

0.5.12

1 year ago

0.5.10

1 year ago

0.5.9

1 year ago

0.5.8

1 year ago

0.5.6

1 year ago

0.5.5

1 year ago

0.5.4

1 year ago

0.5.3

1 year ago

0.5.0

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.4.57

1 year ago

0.4.56

1 year ago

0.4.55

1 year ago

0.4.54

1 year ago

0.4.52

1 year ago

0.4.49

1 year ago

0.4.50

1 year ago

0.4.48

1 year ago

0.4.47

2 years ago

0.4.46

2 years ago

0.4.42

2 years ago

0.4.41

2 years ago

0.4.38

2 years ago

0.4.37

2 years ago

0.4.37-alpha.0

2 years ago

0.4.36

2 years ago

0.4.33

2 years ago

0.4.34

2 years ago

0.4.29

2 years ago

0.4.27

2 years ago

0.4.24

2 years ago

0.4.22

2 years ago

0.4.16

2 years ago

0.4.15

2 years ago

0.4.14

2 years ago

0.4.10

2 years ago

0.4.9

2 years ago

0.4.8

2 years ago

0.4.7

2 years ago

0.4.3

2 years ago

0.4.0

2 years ago

0.3.66

2 years ago

0.3.62

2 years ago

0.3.59

2 years ago

0.3.58

2 years ago

0.3.53

2 years ago

0.3.52

2 years ago

0.3.51

2 years ago

0.3.50

2 years ago

0.3.49

2 years ago

0.3.47

2 years ago

0.3.46

2 years ago

0.3.45

2 years ago

0.3.44

2 years ago

0.3.43

2 years ago

0.3.42

2 years ago

0.3.41

2 years ago

0.3.39

2 years ago

0.3.38

2 years ago

0.3.37

2 years ago

0.3.32

2 years ago

0.3.31

2 years ago

0.3.30

2 years ago

0.3.29

2 years ago

0.3.28

2 years ago

0.3.27

2 years ago

0.3.26

2 years ago

0.3.25

2 years ago

0.3.24

2 years ago

0.3.23

2 years ago

0.3.22

2 years ago

0.3.21

2 years ago

0.3.20

2 years ago

0.3.19

2 years ago

0.3.18

2 years ago

0.3.12

2 years ago

0.3.11

2 years ago

0.3.9

2 years ago

0.3.4

2 years ago

0.3.2

2 years ago

0.3.0

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.5

2 years ago

0.2.3

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago