Sha256: bcd1995216222f791db88e9748bc66be4392d331c1a2b82945cf8e820bd7231e
Contents?: true
Size: 1.07 KB
Versions: 206
Compression:
Stored size: 1.07 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', }} 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
206 entries across 206 versions & 1 rubygems