Select
import
import { Select } from '@bone-ui/select'
Basic
Loading...
function Demo() {const [value, setValue] = useState('green')return (<Selectwidth={400}value={value}onChange={(value) => {console.log('value-----:', value)setValue(value)}}options={[{label: '红色',value: 'red',},{label: '黄色',value: 'yellow',},{label: '绿色',value: 'green',// disabled: true,},]}></Select>)}
LIVE DEMO