randmarcomps 1.207.0 → 1.209.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ import * as AvatarPrimitive from '@radix-ui/react-avatar';
3
3
  import { ButtonProps as ButtonProps_2 } from './button';
4
4
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
5
5
  import { ClassProp } from 'class-variance-authority/types';
6
+ import { ColumnDef } from '@tanstack/react-table';
6
7
  import { default as default_2 } from 'react';
7
8
  import * as DialogPrimitive from '@radix-ui/react-dialog';
8
9
  import { DialogProps } from '@radix-ui/react-dialog';
@@ -262,6 +263,14 @@ export declare interface DataPoint {
262
263
  [key: string]: string | number;
263
264
  }
264
265
 
266
+ export declare function DataTable<TData, TValue>({ columns, data, uniqueValues }: DataTableProps<TData, TValue>): JSX.Element;
267
+
268
+ declare interface DataTableProps<TData, TValue> {
269
+ columns: ColumnDef<TData, TValue>[];
270
+ data: TData[];
271
+ uniqueValues: Record<string, string[]>;
272
+ }
273
+
265
274
  export declare const Dialog: {
266
275
  ({ modal, ...props }: DialogPrimitive.DialogProps): JSX.Element;
267
276
  displayName: string | undefined;