UNPKG

688 BTypeScriptView Raw
1import * as PropTypes from 'prop-types';
2import React, { ReactNode } from 'react';
3export declare const CREATE_OPTION: {};
4export interface AddToListOptionProps {
5 children: ReactNode;
6 onSelect: (event: React.MouseEvent) => void;
7}
8declare function AddToListOption({ children, ...props }: AddToListOptionProps): JSX.Element;
9declare namespace AddToListOption {
10 var propTypes: {
11 searchTerm: PropTypes.Requireable<string>;
12 focused: PropTypes.Requireable<boolean>;
13 onSelect: PropTypes.Validator<(...args: any[]) => any>;
14 activeId: PropTypes.Requireable<string>;
15 };
16}
17export default AddToListOption;
18//# sourceMappingURL=AddToListOption.d.ts.map
\No newline at end of file