Sha256: 9dff56900d5a5cad66a183577811f31e138d928f0c781b0439b565f876f0129d

Contents?: true

Size: 876 Bytes

Versions: 975

Compression:

Stored size: 876 Bytes

Contents

// @flow

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

975 entries across 975 versions & 2 rubygems

Version Path
playbook_ui-10.4.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.3.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.2.1.alpha.sisensefix app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.2.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.2.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.1.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.0.3.pre.alpha.walkthrough2 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.0.3.pre.alpha.walkthrough app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.0.1.alpha.railscusticon app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.0.2.pre.alpha.pre.iconfix app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.0.1.alpha.rtflexfix app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.0.0.pre.alphafonts app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.0.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-10.0.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
playbook_ui-9.19.0.pre.alpha.pre.fonts2 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx