Sha256: 7a34acfa1de22c76f39bbccf8698b042f7154da6551dd7b6e6877d2d341c535e

Contents?: true

Size: 872 Bytes

Versions: 14

Compression:

Stored size: 872 Bytes

Contents

// @flow

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

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

14 entries across 14 versions & 1 rubygems

Version Path
playbook_ui-9.19.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.18.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.17.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.16.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.15.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.14.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.13.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.9.0.alpha.inline1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx