Sha256: 251973b59accc3f144a4e70b66c20621c0390dee3d292778a010128fc56021b2
Contents?: true
Size: 490 Bytes
Versions: 26
Compression:
Stored size: 490 Bytes
Contents
import React from 'react' import { Dropdown } from '../../' const DropdownDefaultValue = (props) => { const options = [ { label: "United States", value: "United States", }, { label: "Canada", value: "Canada", }, { label: "Pakistan", value: "Pakistan", } ]; return ( <> <Dropdown defaultValue={options[2]} options={options} {...props} /> </> ) } export default DropdownDefaultValue
Version data entries
26 entries across 26 versions & 2 rubygems