Sha256: 1ed84f007bc906505822455086584397e690d0a84a6e36a17f6fa5eab305a579
Contents?: true
Size: 1 KB
Versions: 4
Compression:
Stored size: 1 KB
Contents
import React from 'react' import { Button, Filter, Flex, Select, TextInput } from '../../' const FilterOnly = (props) => { const options = [ { value: 'USA' }, { value: 'Canada' }, { value: 'Brazil' }, { value: 'Philippines' }, { value: 'A galaxy far far away, like really far away...' }, ] return ( <Filter filters={{ 'Full Name': 'John Wick' }} minWidth="375px" {...props} > <TextInput label="Full Name" placeholder="Enter name" {...props} /> <Select blankSelection="Select One..." label="Territory" name="location" options={options} {...props} /> <Flex spacing="between" {...props} > <Button text="Apply" {...props} /> <Button text="Clear" variant="secondary" {...props} /> </Flex> </Filter> ) } export default FilterOnly
Version data entries
4 entries across 4 versions & 1 rubygems