Sha256: ca10e5e4ef531e5d58f742fdbc9f5b19ef668d0648bab8c2c3d21f2e122c3f60
Contents?: true
Size: 887 Bytes
Versions: 10
Compression:
Stored size: 887 Bytes
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 {...props} filters={{ 'Full Name': 'John Wick' }} > <TextInput label="Full Name" placeholder="Enter name" /> <Select blankSelection="Select One..." label="Territory" name="location" options={options} /> <Flex spacing="between" > <Button text="Apply" /> <Button text="Clear" variant="secondary" /> </Flex> </Filter> ) } export default FilterOnly
Version data entries
10 entries across 10 versions & 1 rubygems