- }
placeholder='Select some words'
@@ -138,6 +142,7 @@ export const Simple = () => {
* title: string, name of the dividir
* startIcon: node, icon on left side of divider title
* endIcon: node, icon on right side of divider title
+ * onClick: func, callback function onClick divider item
* }
* [button] - node, custom onClick element to trigger select/dropdown menu
* [size] - string, control component size - supported sizes ['md', 'lg'], default = 'md'
@@ -157,6 +162,8 @@ export const Simple = () => {
* [allowClear] - bool, enable clearing button when an option is selected, default = true
* [simple] - bool, accept arrays of strings instead of the more complex data shape outlined above, default = false
* [preventDeselect] - bool, disable default deselect when an item is selected, default = false
+ * [initOpen] - bool, enable open dropdown menu after it gets rendered, default = false
+ * [hideSelected] - bool, hide selected options from the list, default = false
* [...rest] - any div element properties
*/
@@ -247,7 +254,7 @@ export const MultiSelect = () => {
Default - horizontal
- } placeholder='Select a subject' multiSelect/>
+ } placeholder='Select a subject' multiSelect hideSelected/>