@praetorian-chariot/ui
Version:
The UI component library for Chariot, built with Tailwind CSS and React.
13 lines • 424 B
TypeScript
import React from "react";
import { SearchBarProps } from "./SearchBar";
export interface SearchItem {
id: string | number;
title: string;
}
export interface SearchDropdownProps extends SearchBarProps {
items?: SearchItem[];
maxInitialItems?: number;
onSelect?: (item: SearchItem) => void;
}
export declare const SearchDropdown: React.FC<SearchDropdownProps>;
//# sourceMappingURL=SearchDropdown.d.ts.map