Sha256: 090863b4c0fe9b4124d2050471e776c1bc7c8b7e4836a6f75d4ebd1e3ca951b2
Contents?: true
Size: 757 Bytes
Versions: 6
Compression:
Stored size: 757 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, marginBottom?: string, } const TypeaheadControl = (props: Props) => { const { selectProps, marginBottom } = props const { dark, error, label } = selectProps return ( <div className="pb_typeahead_wrapper"> <TextInput dark={dark} error={error} label={label} marginBottom={marginBottom} > <Flex> <components.Control className="text_input" {...props} /> </Flex> </TextInput> </div> ) } export default TypeaheadControl
Version data entries
6 entries across 6 versions & 1 rubygems