4.0.15 • Published 8 months ago

@brighthr/component-listtypeahead v4.0.15

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

ListTypeahead

To install, type the following into the command line at the root of your project:

npm i @brighthr/component-listtypeahead

To implement the ListTypeahead component into your project you’ll need to add the import:

import ListTypeahead from '@brighthr/component-listtypeahead';

After adding import into your project you can use it simply like:

<ListTypeahead />

Props

NameTypeDefaultDescription
disabledbooleanIf true, disables the ListTypeahead
hasErrorbooleanIf true, shows a red error theme.
id
isMultiSelectbooleanfalseIf true,
namestringSets a html id the input.
options[{ id: string, label: string }]Defines the options to appear in the type ahead.
placeholderstring'Search or select'Sets the placeholder.
selectedItems[{ id: string, label: string }]Sets the items that are currently selected.
setSelectedItems(value: option[]) => voidFunction for handling setting the selected items.
4.0.15

8 months ago

4.0.12

9 months ago

4.0.14

8 months ago

4.0.13

9 months ago

4.0.9

11 months ago

4.0.8

11 months ago

4.0.10

11 months ago

4.0.7

11 months ago

4.0.6

1 year ago

4.0.11

11 months ago

4.0.5

1 year ago

4.0.4

1 year ago

4.0.3

1 year ago

4.0.2

1 year ago

4.0.1

1 year ago

4.0.0

1 year ago

3.0.12

1 year ago

3.0.11

1 year ago

3.0.10

1 year ago

3.0.9

1 year ago

3.0.8

1 year ago

3.0.7

1 year ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.2

2 years ago