MoleculeDropdownOption
is a component that wraps a composition of checkbox + text.
$ npm install @s-ui/react-molecule-dropdown-option --save
import MoleculeDropdownOption from '@s-ui/react-molecule-dropdown-option'
return (
<MoleculeDropdownOption value="option1">
Option 1
</MoleculeDropdownOption>
)
import MoleculeDropdownOption from '@s-ui/react-molecule-dropdown-option'
return (
<MoleculeDropdownOption value="option1" checkbox>
Option 1
</MoleculeDropdownOption>
)
import MoleculeDropdownOption from '@s-ui/react-molecule-dropdown-option'
return (
<MoleculeDropdownOption value="option1" disabled>
Option 1
</MoleculeDropdownOption>
)
Find full description and more examples in the demo page.