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.31.0.pre.alpha.powercentrainplaybookpt23212 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.31.0.pre.alpha.PLAY882formpillprimaryandneutral3201 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.31.0.pre.alpha.play1262iconstyles3172 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.31.0.pre.alpha.play1262iconstyles3171 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.31.0 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.30.0.pre.alpha.play1367contenttagnoninputkits3159 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.30.0.pre.alpha.20240515remotebuildkitconversion3150 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.30.0.pre.alpha.PBNTR353draggablev53136 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.30.0.pre.alpha.PLAY1328fixtimelinekitglobalpropsreact3096 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.30.0 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.29.0.pre.alpha.removeduplicatekitexampleclass3063 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.29.0.pre.alpha.PBNTR329draggablev33060 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.29.0.pre.alpha.PBNTR329draggablev33059 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.29.0.pre.alpha.testingcollapsibleissue3052 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.29.0 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.28.0.pre.alpha.PBNTR297gradientoverlay3029 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.28.0.pre.alpha.pbntr312tableheaderflexremoval3019 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.28.0.pre.alpha.dialogturbostreameventlistener3017 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.28.0.pre.alpha.PLAY1338alpha3001 app/pb_kits/playbook/pb_typeahead/components/Control.tsx
playbook_ui-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2987 app/pb_kits/playbook/pb_typeahead/components/Control.tsx