Sha256: 279cb12e65b265e5253239c2716c01d06e0f7ad3599a3a62e65d351a12846cc8
Contents?: true
Size: 1.35 KB
Versions: 5
Compression:
Stored size: 1.35 KB
Contents
import React from 'react' import { Button, Filter, Flex, Select, TextInput } from '../../' const FilterDefault = (props) => { const options = [ { value: 'USA' }, { value: 'Canada' }, { value: 'Brazil' }, { value: 'Philippines' }, { value: 'A Galaxy Far Far Away Like Really Far Away' }, ] return ( <Filter double filters={{ 'Full Name': 'John Wick', 'City': 'San Francisco', }} results={1} sortOptions={{ popularity: 'Popularity', // eslint-disable-next-line manager_title: 'Manager\'s Title', // eslint-disable-next-line manager_name: 'Manager\'s Name', }} sortValue={[{ name: 'popularity', dir: 'desc' }]} {...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 FilterDefault
Version data entries
5 entries across 5 versions & 1 rubygems