fomantic-ui-react
Version:
Fomantic-UI React -- A React Component Library.
20 lines (19 loc) • 1.02 kB
TypeScript
import React from 'react';
import { SearchProps, SearchResultProps } from './type';
declare const Search: {
({ as, className, loading, icon, placeholder, value, selectFirstResult, results, noResultsMessage, noResultsDescription, showNoResults, minCharacters, onSearchChange, onResultSelect, ...props }: SearchProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
displayName: string;
Result: {
(props: SearchResultProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
displayName: string;
};
Results: {
({ as, className, content, children, ...props }: import("./type").SearchResultsProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
displayName: string;
};
Category: {
({ as, className, name, children, ...props }: import("./type").SearchCategoryProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
displayName: string;
};
};
export default Search;