Sha256: 7a34acfa1de22c76f39bbccf8698b042f7154da6551dd7b6e6877d2d341c535e
Contents?: true
Size: 872 Bytes
Versions: 14
Compression:
Stored size: 872 Bytes
Contents
// @flow import React from 'react' import { Typeahead } from '../../' const synths = [ { label: 'Oberheim', value: 'OBXa' }, { label: 'Moog', value: 'Minimoog' }, { label: 'Roland', value: 'Juno' }, { label: 'Korg', value: 'MS-20' }, ] const cities = [ { label: 'Budapest', value: 'Hungary' }, { label: 'Singapore', value: 'Singapore' }, { label: 'Oslo', value: 'Norway' }, { label: 'Lagos', value: 'Nigeria' }, ] const TypeaheadInline = (props) => { return ( <> <Typeahead inline isMulti label="Synths" options={synths} {...props} /> <Typeahead inline isMulti label="Placeholder Plus Icon" options={cities} placeholder="Add cities" plusIcon {...props} /> </> ) } export default TypeaheadInline
Version data entries
14 entries across 14 versions & 1 rubygems