1 | import * as PropTypes from 'prop-types';
|
2 | import React, { ReactNode } from 'react';
|
3 | export declare const CREATE_OPTION: {};
|
4 | export interface AddToListOptionProps {
|
5 | children: ReactNode;
|
6 | onSelect: (event: React.MouseEvent) => void;
|
7 | }
|
8 | declare function AddToListOption({ children, ...props }: AddToListOptionProps): JSX.Element;
|
9 | declare 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 | }
|
17 | export default AddToListOption;
|
18 |
|
\ | No newline at end of file |