Sha256: 53d6a86ebb02da8710c012a69f087f8e2e4c62cf7ec05fb7b519963326aac128

Contents?: true

Size: 508 Bytes

Versions: 1056

Compression:

Stored size: 508 Bytes

Contents

/* @flow */

import React from 'react'
import { Typeahead } from '../..'

const options = [
  { label: 'Windows', value: '#FFA500' },
  { label: 'Siding', value: '#FF0000' },
  { label: 'Doors', value: '#00FF00' },
  { label: 'Roofs', value: '#0000FF' },
]

const TypeaheadWithPills = (props) => {
  return (
    <>
      <Typeahead
          isMulti
          label="Colors"
          options={options}
          placeholder=""
          {...props}
      />
    </>
  )
}

export default TypeaheadWithPills

Version data entries

1,056 entries across 1,056 versions & 2 rubygems

Version Path
playbook_ui_docs-13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui-13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui_docs-13.34.1.pre.alpha.PLAY14703378 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui-13.34.1.pre.alpha.PLAY14703378 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui_docs-13.34.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui-13.34.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui_docs-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3370 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3370 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui_docs-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3369 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3369 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3368 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui_docs-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3366 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3366 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui-13.34.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui_docs-13.33.1.pre.alpha.play1407statvaluekitinconsistencies3352 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui-13.33.1.pre.alpha.play1407statvaluekitinconsistencies3352 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui_docs-13.33.1.pre.alpha.PLAY14063320 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui-13.33.1.pre.alpha.PLAY14063320 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui-13.33.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
playbook_ui_docs-13.33.0.pre.alpha.PBNTR405dropdownformfixesrails3311 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx