Sha256: 3d20fe45ffe42d084cdf0fa1ba8eb9b8e07277ed40bb7a16bedc82ca50f28cbb
Contents?: true
Size: 527 Bytes
Versions: 2
Compression:
Stored size: 527 Bytes
Contents
import React from 'react' import { Typeahead } from 'playbook-ui' const options = [ { label: 'Windows', value: '#FFA500' }, { label: 'Siding', value: '#FF0000' }, { label: 'Doors', value: '#00FF00' }, { label: 'Roofs', value: '#0000FF' }, ] const TypeaheadWithPills = (props) => { return ( <> <Typeahead color="primary" isMulti label="Colors" options={options} placeholder="" {...props} /> </> ) } export default TypeaheadWithPills
Version data entries
2 entries across 2 versions & 2 rubygems