Sha256: bc2798b4d3489105e679f810744f6094983495127a0b4384283478d8227bc94b

Contents?: true

Size: 447 Bytes

Versions: 9

Compression:

Stored size: 447 Bytes

Contents

// @flow

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

const options = [
  { label: 'Orange', value: '#FFA500' },
  { label: 'Red', value: '#FF0000' },
  { label: 'Green', value: '#00FF00' },
  { label: 'Blue', value: '#0000FF' },
]

const TypeaheadDefault = (props) => {
  return (
    <Typeahead
        // badges
        label="Colors"
        options={options}
        {...props}
    />
  )
}

export default TypeaheadDefault

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
playbook_ui-9.3.0.alpha.inline3 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
playbook_ui-9.3.0.alpha.inline2 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
playbook_ui-9.3.0.alpha.inline1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
playbook_ui-8.2.1.pre.alpha5 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
playbook_ui-8.2.1.pre.alpha4 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
playbook_ui-8.2.1.pre.alpha3 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
playbook_ui-8.2.1.pre.alpha2 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
playbook_ui-8.2.1.pre.alpha1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
playbook_ui-8.1.0.pre.alpha1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx