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