Sha256: 4fefcfe086a96ec72f19b002ba3d2de3d5e304b76798fa7bb794c7e1c9601778
Contents?: true
Size: 1.1 KB
Versions: 4
Compression:
Stored size: 1.1 KB
Contents
import React from 'react' import { Button, Filter, Flex, Select, TextInput } from '../../' const FilterNoSort = (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" results={546} 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 FilterNoSort
Version data entries
4 entries across 4 versions & 1 rubygems