UNPKG

react-bootstrap-typeahead

Version:
92 lines (91 loc) 2.83 kB
import React from 'react'; import { Story, Meta } from '@storybook/react'; import { TypeaheadComponentProps } from './Typeahead'; import { noop } from '../../tests/helpers'; declare const _default: Meta<import("@storybook/react").Args>; export default _default; export declare const Default: Story<TypeaheadComponentProps>; export declare const MultiSelect: Story<TypeaheadComponentProps>; export declare const ClearButton: Story<TypeaheadComponentProps>; export declare const LoadingState: Story<TypeaheadComponentProps>; export declare const Pagination: Story<TypeaheadComponentProps>; export declare const AllowNew: Story<TypeaheadComponentProps>; export declare const CustomInput: Story<TypeaheadComponentProps>; export declare const CustomMenu: Story<TypeaheadComponentProps>; export declare const InputGrouping: { (args: TypeaheadComponentProps): React.JSX.Element; args: { allowNew: boolean; clearButton: boolean; flip: boolean; id: string; isLoading: undefined; labelKey: string; multiple: boolean; onBlur: typeof noop; onChange: typeof noop; onFocus: typeof noop; onInputChange: typeof noop; onKeyDown: typeof noop; options: { name: string; population: number; capital: string; region: string; }[]; placeholder: string; positionFixed: boolean; }; }; export declare const Controlled: { (args: TypeaheadComponentProps): React.JSX.Element; args: { allowNew: boolean; clearButton: boolean; flip: boolean; id: string; isLoading: undefined; labelKey: string; multiple: boolean; onBlur: typeof noop; onChange: typeof noop; onFocus: typeof noop; onInputChange: typeof noop; onKeyDown: typeof noop; options: { name: string; population: number; capital: string; region: string; }[]; placeholder: string; positionFixed: boolean; }; }; export declare const InputValidation: { (args: TypeaheadComponentProps): React.JSX.Element; args: { isValid: boolean; isInvalid: boolean; allowNew: boolean; clearButton: boolean; flip: boolean; id: string; isLoading: undefined; labelKey: string; multiple: boolean; onBlur: typeof noop; onChange: typeof noop; onFocus: typeof noop; onInputChange: typeof noop; onKeyDown: typeof noop; options: { name: string; population: number; capital: string; region: string; }[]; placeholder: string; positionFixed: boolean; }; };