Sha256: 34c3a110be5ed1e72bbc39aec7220ed41f0b04d9d058152557005a335e185240
Contents?: true
Size: 1.15 KB
Versions: 6
Compression:
Stored size: 1.15 KB
Contents
import React from 'react' import { Button, Filter, Flex, Select, TextInput } from '../../' const FilterDefault = () => { const options = [ { value: 'USA' }, { value: 'Canada' }, { value: 'Brazil' }, { value: 'Philippines' }, { value: 'A Galaxy Far Far Away Like Really Far Away' }, ] return ( <Filter filters={[ { name: 'Full Name', value: 'John Wick' }, { name: 'Territory', value: 'San Francisco' }, ]} results={256} sortMenu={[ { item: 'Popularity', link: '#', active: true, direction: 'desc' }, { item: 'Title', link: '#', active: false }, { item: 'Name', link: '#', active: false }, ]} > <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 FilterDefault
Version data entries
6 entries across 6 versions & 1 rubygems