@seplan/diti-ds
Version:
Reusable UI component library developed by DITI (Technology and Innovation Directorate of SEPLAN PI) based on Mantine and Tailwind CSS
27 lines • 868 B
TypeScript
import { ReactNode } from 'react';
interface ClearFiltersButtonProps {
/**
* Array of URL parameter keys that should be considered as filters.
* If not provided, all parameters will be considered filters.
*/
filterParamKeys?: string[];
/**
* Button variant
*/
variant?: 'outline' | 'subtle' | 'filled' | 'white' | 'default' | 'light';
/**
* Button size
*/
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
/**
* Custom className
*/
className?: string;
/**
* Button content. Defaults to "Limpar filtros" if not provided.
*/
children?: ReactNode;
}
export declare function ClearFiltersButton({ filterParamKeys, variant, size, className, children }: ClearFiltersButtonProps): import("react/jsx-runtime").JSX.Element | null;
export {};
//# sourceMappingURL=clear-filters-button.d.ts.map