@s-ui/react-molecule-select-popover
v1.46.0
Published
A component that shows a popover to select data.
Downloads
6,491
Maintainers
Keywords
Readme
MoleculeSelectPopover
A component that shows a popover to select data.
Installation
$ npm install @s-ui/react-molecule-select-popover --save
Usage
Basic usage
import MoleculeSelectPopover from '@s-ui/react-molecule-select-popover'
return (
<MoleculeSelectPopover
acceptButtonText="Aceptar"
cancelButtonText="Cancelar"
iconArrowDown={IconArrowDown}
isSelected={isSelected}
onAccept={() => setItems(unconfirmedItems)}
onCancel={() => setUnconfirmedItems(items)}
selectText={selectText}
>
{children}
</MoleculeSelectPopover>)
Find full description and more examples in the demo page.