react-filter-checkbox-component
Version:
React component for building complex checkbox filtering
18 lines (17 loc) • 534 B
TypeScript
import { ReactElement } from "react";
interface PropsInterface {
applyButtonText: string;
clearButtonText: string;
filters: {
[key: string]: Array<{
label: string;
param: string;
}>;
};
onSubmit: Function;
selectedFilterRemoveIcon: string | ReactElement;
selectedFilterBackgroundColour: string;
selectedFilterTextColour: string;
}
declare const FilterComponent: (props: PropsInterface) => import("react/jsx-runtime").JSX.Element;
export default FilterComponent;