UNPKG

react-select-custom-component

Version:

A highly customizable React dropdown component based on React Select, providing flexible and lightweight select input options.

27 lines (23 loc) 651 B
import MultipleSelect from './components/MultipleSelect'; function App(props) { return ( <div className='p-4'> <MultipleSelect data={props.data} defaultValue={props.defaultValue} isMulti={true} title={props.title} placeholder={props.placeholder} listItemStyle={props.listItemStyle} isSearch={props.isSearch} lang={props.lang} mandatory={props.mandatory} disabled={props.disabled} style={props.style} className="react-multiple-select" changeSelectedHandler={props.changeSelectedHandler} /> </div> ) } export default App;