Sha256: a9c98b875745e2273756b7b73ad45adfefefcc7b653885da0af7550a69c3c50d

Contents?: true

Size: 970 Bytes

Versions: 944

Compression:

Stored size: 970 Bytes

Contents

import React from 'react'

import Typeahead from '../_typeahead'

const labels = [
  { label: 'Verve', value: '1956' },
  { label: 'Stax', value: '1957' },
  { label: 'Motown', value: '1959' },
  { label: 'Kudu', value: '1971' },
  { label: 'Stones Throw', value: '1996' },
]

const expressionists = [
  { label: 'Kandinsky', value: 'Russia' },
  { label: 'Klee', value: 'Switzerland' },
  { label: 'Kokoschka', value: 'Austria' },
  { label: 'Kirchner', value: 'Germany' },
]

const TypeaheadMultiKit = (props) => {
  return (
    <>
      <Typeahead
          defaultValue={[labels[0]]}
          isMulti
          label="Badges"
          multiKit="badge"
          options={labels}
          {...props}
      />
      <Typeahead
          defaultValue={[expressionists[0]]}
          isMulti
          label="Small Pills"
          multiKit="smallPill"
          options={expressionists}
          {...props}
      />
    </>
  )
}

export default TypeaheadMultiKit

Version data entries

944 entries across 944 versions & 2 rubygems

Version Path
playbook_ui-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui-14.11.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui_docs-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui_docs-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui_docs-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui_docs-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui_docs-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui_docs-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui_docs-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui_docs-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
playbook_ui-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx