react-widgets
Version:
An à la carte set of polished, extensible, and accessible inputs built for React
18 lines • 688 B
TypeScript
import * as PropTypes from 'prop-types';
import React, { ReactNode } from 'react';
export declare const CREATE_OPTION: {};
export interface AddToListOptionProps {
children: ReactNode;
onSelect: (event: React.MouseEvent) => void;
}
declare function AddToListOption({ children, ...props }: AddToListOptionProps): JSX.Element;
declare namespace AddToListOption {
var propTypes: {
searchTerm: PropTypes.Requireable<string>;
focused: PropTypes.Requireable<boolean>;
onSelect: PropTypes.Validator<(...args: any[]) => any>;
activeId: PropTypes.Requireable<string>;
};
}
export default AddToListOption;
//# sourceMappingURL=AddToListOption.d.ts.map