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-13.33.1.pre.alpha.PLAY14143340 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.33.1.pre.alpha.PLAY14143336 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.33.1.pre.alpha.PLAY14063320 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.33.1 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.PLAY14143288 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.PLAY14143272 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.PLAY14143271 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.PLAY1138iconkitaddcolorprop3268 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.PLAY14143267 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.play1416movealiaslogic3266 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.PLAY14143264 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.PLAY14143260 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.PLAY14143255 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.PLAY14143251 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.play1416movealiaslogic3239 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0.pre.alpha.PLAY14103236 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.31.0.pre.alpha.play1416movealiaslogic3232 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.31.0.pre.alpha.PBNTR342navtabbing3231 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.31.0.pre.alpha.PBNTR342navtabbing3230 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.32.0 app/pb_kits/playbook/pb_typeahead/components/Control.tsx