Package Exports
- @s-ui/react-molecule-dropdown-option
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@s-ui/react-molecule-dropdown-option) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
MoleculeDropdownOption
MoleculeDropdownOption is a component that wraps a composition of checkbox + text.
Installation
$ npm install @s-ui/react-molecule-dropdown-option --saveUsage
Basic usage
import MoleculeDropdownOption from '@s-ui/react-molecule-dropdown-option'
return (
<MoleculeDropdownOption value="option1">
Option 1
</MoleculeDropdownOption>
)With checkbox
import MoleculeDropdownOption from '@s-ui/react-molecule-dropdown-option'
return (
<MoleculeDropdownOption value="option1" checkbox>
Option 1
</MoleculeDropdownOption>
)With checkbox disabled
import MoleculeDropdownOption from '@s-ui/react-molecule-dropdown-option'
return (
<MoleculeDropdownOption value="option1" checkbox disabled>
Option 1
</MoleculeDropdownOption>
)Find full description and more examples in the demo page.