Sha256: 1b9623fcb1c097ca26495352c9b6ace045ad450ca6c078a3e08071ffb4e9a1bb
Contents?: true
Size: 726 Bytes
Versions: 94
Compression:
Stored size: 726 Bytes
Contents
import React from 'react' import { Select } from '../../' const SelectDisabledOptions = (props) => { const options = [ { value: '1', disabled: true, text: 'Espresso', }, { value: '2', text: 'Americano', }, { value: '3', disabled: true, text: 'Cappuccino', }, { value: '4', text: 'Mocha', }, { value: '5', text: 'Flat White', }, { value: '6', text: 'Latte', }, ] return ( <div> <Select label="Favorite Coffee" name="coffee" options={options} value="2" {...props} /> </div> ) } export default SelectDisabledOptions
Version data entries
94 entries across 94 versions & 1 rubygems