File "index.js"
Full path: /home/webcknlt/admissiontell.com/wp-content/plugins/generateblocks/src/components/simple-multi-select/index.js
File
size: 345 B (345 B bytes)
MIME-type: text/x-java
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
import AdvancedSelect from '../advanced-select';
function SimpleMultiSelect( props ) {
const { options, value } = props;
return (
<AdvancedSelect
{ ...props }
isMulti
id={ 'gblocks-simple-multi-select' }
value={ options.filter( ( option ) => ( value.includes( option.value ) ) ) }
/>
);
}
export default SimpleMultiSelect;