UNPKG

@seplan/diti-ds

Version:

Reusable UI component library developed by DITI (Technology and Innovation Directorate of SEPLAN PI) based on Mantine and Tailwind CSS

13 lines 549 B
import { PropsWithChildren } from 'react'; type SelectedItemsContextType = { selectedItems: Set<string>; toggle: (value: string) => void; clear: () => void; }; export declare function useSelectedItems(): SelectedItemsContextType; export declare function SelectedItemsProvider({ children, searchParamKey, onSelectionChange }: PropsWithChildren<{ searchParamKey: string; onSelectionChange?: (items: Set<string>) => void; }>): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=selected-items-provider.d.ts.map