Sha256: b9eefe096bb2f7efb84a36d8ec0e6699bacbb74a08b4cb742c9e4a505d45c1da
Contents?: true
Size: 594 Bytes
Versions: 2
Compression:
Stored size: 594 Bytes
Contents
import React from 'react' import { Dropdown } from '../../' const DropdownDefault = (props) => { const options = [ { label: "United States", value: "United States", }, { label: "Canada", value: "Canada", }, { label: "Pakistan", value: "Pakistan", } ]; return ( <div> <Dropdown options={options} {...props} > {options.map((option) => ( <Dropdown.Option key={option.id} option={option} /> ))} </Dropdown> </div> ) } export default DropdownDefault
Version data entries
2 entries across 2 versions & 2 rubygems