Sha256: 0a97ec53e03e8e3ea3c95ab5b2bf70d9e24eb0df321f7b62f22a1222f6b8e31f
Contents?: true
Size: 1.04 KB
Versions: 6
Compression:
Stored size: 1.04 KB
Contents
import React from 'react' import { Button, Filter, Flex, Select, TextInput } from '../../' const SortOnly = () => { const options = [ { value: 'USA' }, { value: 'Canada' }, { value: 'Brazil' }, { value: 'Philippines' }, { value: 'A Galaxy Far Far Away Like Really Far Away' }, ] return ( <Filter background={false} sortMenu={[ { item: 'Popularity', link: '#', active: true, direction: 'desc' }, { item: 'Title', link: '#', active: false }, { item: 'Name', link: '#', active: false }, ]} template="sort_only" > <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 SortOnly
Version data entries
6 entries across 6 versions & 1 rubygems