UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

22 lines 896 B
import type { ColumnFilterConfig } from './useColumnFilters'; export interface ColumnFilterMenuProps { /** Plain-text column name, used for the trigger's accessible label. */ columnLabel: string; config: ColumnFilterConfig; /** Currently selected values (empty = "all"). */ value: string[]; onChange: (values: string[]) => void; } /** * The filter dropdown that lives inside a column header. * * Renders the `DropdownMenu` primitives directly (rather than wrapping them in * another component) because the store is injected by walking the child * element tree — an indirection would hide the items from it. */ declare const ColumnFilterMenu: { ({ columnLabel, config, value, onChange, }: ColumnFilterMenuProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default ColumnFilterMenu; //# sourceMappingURL=ColumnFilterMenu.d.ts.map