UNPKG

@useloops/design-system

Version:

The official React based Loops design system

22 lines (19 loc) 710 B
import { FunctionComponent } from 'react'; import { InputSizing } from '../Select/StyledSelect.variant-helpers.js'; interface CreatableAutocompleteOption { label: string | undefined; value: string | undefined; } interface CreatableAutocompleteProps { options: CreatableAutocompleteOption[]; value?: string | null; onChange?: (value: string) => void; internalChange?: () => void; placeholder?: string; sizing?: InputSizing; disabled?: boolean; fullWidth?: boolean; } declare const CreatableAutocomplete: FunctionComponent<CreatableAutocompleteProps>; export { CreatableAutocomplete as default }; export type { CreatableAutocompleteOption, CreatableAutocompleteProps };