UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

33 lines 1.09 kB
import "./MultiSelectGroups.scss"; import React from "react"; export interface MultiSelectGroupItem { id: number | string; name: string; color?: string; count?: number; highlighted?: boolean; disabled?: boolean; countProvider?: () => number; } export interface MultiSelectGroup { groupName: string; items: MultiSelectGroupItem[]; showGroupActions?: boolean; customGroupClass?: string; fullWidth?: boolean; id?: string | number; } export interface MultiSelectGroupsProps { groups: MultiSelectGroup[]; selectedIds: (number | string)[]; showItemCounts?: boolean; showGroupActions?: boolean; variant?: "default" | "categories"; maxItemsVisible?: number; onChange: (selectedIds: (number | string)[]) => void; itemCountProvider?: (item: MultiSelectGroupItem) => number; customItemRenderer?: (item: MultiSelectGroupItem, isSelected: boolean) => React.ReactNode; } declare const _default: React.FunctionComponent<MultiSelectGroupsProps>; export default _default; //# sourceMappingURL=MultiSelectGroups.d.ts.map