Sha256: 18eae312699ad42ed76c85ff38e7be648330dc732845ad0145a2a0b142ca5755
Contents?: true
Size: 711 Bytes
Versions: 1
Compression:
Stored size: 711 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) => { const { selectProps } = props const { dark, error, label } = selectProps return ( <div className="pb_typeahead_wrapper"> <TextInput dark={dark} error={error} label={label} marginBottom="none" > <Flex> <components.Control className="text_input" {...props} /> </Flex> </TextInput> </div> ) } export default TypeaheadControl
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-14.3.1.pre.alpha.PBNTR515typeaheadmarginbottomredux3747 | app/pb_kits/playbook/pb_typeahead/components/Control.tsx |