Sha256: d096cf6947ec798acfaee7d0da2e6f4f9176c5b269e3b49f102b683f17b5e8cf
Contents?: true
Size: 1.25 KB
Versions: 142
Compression:
Stored size: 1.25 KB
Contents
import React from 'react' import { Button, Filter, Flex, Select, TextInput } from '../../' const FilterNoBackground = () => { const options = [ { value: 'USA' }, { value: 'Canada' }, { value: 'Brazil' }, { value: 'Philippines' }, { value: 'A Galaxy Far Far Away Like Really Far Away' }, ] return ( <Filter background={false} filters={{ 'Full Name': 'John Wick', 'Territory': 'San Francisco', }} results={256} 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: 'asc' }]} > <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 FilterNoBackground
Version data entries
142 entries across 142 versions & 1 rubygems