0.7.0 • Published 5 years ago

@cmds/select v0.7.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Select

npm package

Used for selecting one option from a list of options.

Getting started

npm install @cmds/select --save

Prop Types

PropertyTypeRequired?Description
clearableBooleanWhether the user can clear the selected option
noOptionsRendererFunctionResponsible for the empty state for the option list
optionRendererFunctionResponsible for rendering a custom version of the option ({option: object, inList: boolean}): jsx
alignLeftBooleanWhether the dropdown should align left
valueStringSelected option
optionsBooleanList of options to choose from.
onChangeFunctionTriggers when the selection value changes: ({id: string, value: string})

More information

This component is designed and developed as part of Cosmos Design System.

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago