Sha256: 9d5b941e14e4aa16693d5668f4f0a3db77101e3510802ef0b31881c3122de7ef

Contents?: true

Size: 866 Bytes

Versions: 944

Compression:

Stored size: 866 Bytes

Contents

import React from 'react'

import Typeahead from '../_typeahead'

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

944 entries across 944 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx