--- title: MultiselectCheckbox tags: components,input,state,array,intermediate --- Renders a checkbox list that uses a callback function to pass its selected value/values to the parent component. - Use `React.useState()` to create a `data` state variable and set its initial value equal to the `options` prop. - Create a function `toggle` that is used to toggle the `checked` to update the `data` state variable and call the `onChange` callback passed via the component's props. - Render a `