@papernote/ui
Version:
A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive
27 lines • 821 B
TypeScript
import { ReactNode } from 'react';
interface FilterControl {
type: 'search' | 'select' | 'button' | 'toggle' | 'custom';
key?: string;
placeholder?: string;
value?: any;
onChange?: (value: any) => void;
options?: Array<{
value: any;
label: string;
}>;
label?: string;
icon?: ReactNode;
variant?: 'primary' | 'secondary' | 'filter' | 'active';
className?: string;
children?: ReactNode;
}
interface FilterControlsProps {
controls: FilterControl[];
className?: string;
}
/**
* Flexible filter controls bar supporting search, dropdowns, buttons, and custom controls
*/
export declare function FilterControls({ controls, className }: FilterControlsProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=FilterControls.d.ts.map