Sha256: bfd8deda03f1d05d1fd42b52d7ed26d2609a413bf574925c80bc9787c586b05b
Contents?: true
Size: 990 Bytes
Versions: 3
Compression:
Stored size: 990 Bytes
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 {...props} filters={{ 'Full Name': 'John Wick', }} results={546} sortValue={[{ name: 'popularity', dir: 'desc' }]} > <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 FilterNoSort
Version data entries
3 entries across 3 versions & 1 rubygems