lightswind
Version:
A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.
15 lines • 675 B
TypeScript
interface ExpandableSearchBarProps {
/** Optional placeholder text */
placeholder?: string;
/** Optional onChange handler */
onChange?: (value: string) => void;
/** Optional onSubmit handler */
onSubmit?: (value: string) => void;
/** Additional CSS classes */
className?: string;
/** The maximum expanded width (Tailwind class or absolute value like "300px") */
expandedWidth?: string | number;
}
export declare function ExpandableSearchBar({ placeholder, onChange, onSubmit, className, expandedWidth, }: ExpandableSearchBarProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=expandable-search-bar.d.ts.map