Skip to main content

Searchable List

Renders a search bar with checkboxes and a validation button

Storybook Docs

Props

T extends ICheckbox

NameTypeDefaultDescription
checkboxesT[]-Object array that displays a list of checkboxes with their values and labels in different rows if they are activated or not.
buttonLabelstring"Validate changes"Label of button
onClickButton((checkboxes: T[]) => void)-Called when the confirm button is clicked
placeholderstring"Search in options"placeholder of input text

ICheckbox

AttributeTypeDescription
activebooleanControlled value that determines if the Checkbox is checked or not
id *number | stringId of the checkbox
label: *'string'Label of the Checkbox