Sha256: 19f033cae3397c81b9fb13606f7ebc0522681a499d7bcf1abdcfd700eed425ae

Contents?: true

Size: 603 Bytes

Versions: 529

Compression:

Stored size: 603 Bytes

Contents

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

import Flex from '../../pb_flex/_flex'
import TextInput from '../../pb_text_input/_text_input'

type Props = {
  selectProps: any,
}

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

export default TypeaheadControl

Version data entries

529 entries across 529 versions & 1 rubygems

Version Path
playbook_ui-14.4.0.pre.alpha.PBNTR490multilevelselect3832 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.alpha.PLAY1546highchartsbump3831 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.alpha.dependabotnpmandyarntiptapextensionparagraph2723830 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.alpha.dependabotnpmandyarntiptapextensionlink2723828 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.5.0.pre.rc.1 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.alpha.pbntr523enablekitsforradiofix3826 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.alpha.pbntr523enablekitsforradiofix3825 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.alpha.PLAY1546highchartsbump3822 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.alpha.PLAY1562highchartsbump3819 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.5.0.pre.rc.0 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.3.2.pre.alpha.pbntr523enablekitsforradiofix3809 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.rc.16 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.rc.15 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.rc.14 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.3.2.pre.alpha.PBNTR417addcolorsupdatedefaultcolor3791 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.rc.13 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.3.2.pre.alpha.revert3614PBNTR455ganttchartPOC3783 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.4.0.pre.rc.12 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-14.3.2.pre.alpha.play1472newicons3773 app/pb_kits/playbook/pb_typeahead/components/Control.tsx