Sha256: 124b572a6d588bc09550039f3da7367ee4c1f61a3260a1b275764765732041f1

Contents?: true

Size: 531 Bytes

Versions: 663

Compression:

Stored size: 531 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
          isMulti
          label="Colors"
          options={options}
          pillColor="neutral"
          placeholder=""
          {...props}
      />
    </>
  )
}

export default TypeaheadWithPills

Version data entries

663 entries across 663 versions & 2 rubygems

Version Path
playbook_ui-14.4.0.pre.alpha.javascriptassets3924 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui_docs-14.4.0.pre.alpha.PLAY1486highchartscssdrivenPOC3923 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui-14.4.0.pre.alpha.PLAY1486highchartscssdrivenPOC3923 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui-14.5.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui_docs-14.4.0.pre.alpha.stephenagreerpatch13922 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui-14.4.0.pre.alpha.stephenagreerpatch13922 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui_docs-14.4.0.pre.alpha.PLAY1486highchartscssdrivenPOC3921 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui-14.4.0.pre.alpha.PLAY1486highchartscssdrivenPOC3921 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui_docs-14.4.0.pre.alpha.stephenagreerpatch13910 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui-14.4.0.pre.alpha.stephenagreerpatch13910 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui_docs-14.5.0.pre.rc.15 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui-14.5.0.pre.rc.15 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui_docs-14.4.0.pre.alpha.stephenagreerpatch13909 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui-14.4.0.pre.alpha.stephenagreerpatch13909 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui_docs-14.4.0.pre.alpha.stephenagreerpatch13908 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui-14.4.0.pre.alpha.stephenagreerpatch13908 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui_docs-14.5.0.pre.rc.14 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui-14.5.0.pre.rc.14 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui_docs-14.5.0.pre.rc.13 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx
playbook_ui-14.5.0.pre.rc.13 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx