Sha256: 86398ada773d6723e5b11cedc413534ff46ce13463470c1f367b5fe84367cbd8

Contents?: true

Size: 536 Bytes

Versions: 90

Compression:

Stored size: 536 Bytes

Contents

/* @flow */

import React from 'react'
import { components } from 'react-select'

import {
  Flex,
  TextInput,
} from '../..'

type Props = {
  selectProps: any,
}

const TypeaheadControl = (props: Props) => (
  <div className="pb_typeahead_wrapper">
    <TextInput
        dark={props.selectProps.dark}
        label={props.selectProps.label}
    >
      <Flex>
        <components.Control
            className="text_input"
            {...props}
        />
      </Flex>
    </TextInput>
  </div>
)

export default TypeaheadControl

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
playbook_ui-9.9.0.alpha.inline1 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.9.0 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.8.0 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.7.0.pre.alphawidth1 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.7.0.pre.alpha.a11y.btn app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.7.0 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.6.1 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.6.1.pre.deps1 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.6.0 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.5.0.alpha.rs.downgrade app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.5.0 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.4.0.alpha.sisense app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.4.0.alpha.user.kit.bug app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.4.0 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.3.1.pre.alpha2 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.4.0.pre.alpha2 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.4.0.pre.alpha1 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.3.1.pre.alpha1 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.3.0.alpha.inline3 app/pb_kits/playbook/pb_typeahead/components/Control.jsx
playbook_ui-9.3.0.pre.alpha.password.strength.2 app/pb_kits/playbook/pb_typeahead/components/Control.jsx