UNPKG

react-bootstrap-typeahead

Version:
65 lines (64 loc) 2.1 kB
/// <reference types="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): JSX.Element; args: { allowNew: boolean; clearButton: boolean; flip: boolean; id: string; isLoading: boolean; 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): JSX.Element; args: { allowNew: boolean; clearButton: boolean; flip: boolean; id: string; isLoading: boolean; 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; }; };