@mdspl/mds-shared-ui 1.2.2 → 1.2.3
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.
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export declare interface ConfirmDeleteDialogProps {
|
|
|
56
56
|
isLoading?: boolean;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export declare function DataTable<T
|
|
59
|
+
export declare function DataTable<T>({ tableId, data: rowData, headers, loading, loadingChildren, skeletonLoading, emptyMessage, actions, page, pageSize, onPageChange, onPageSizeChange, density, totalCount, actionConfig, pageSizeOptions, onRowSelect, onRowSelectEvent, }: DataTableProps<T>): JSX_2.Element;
|
|
60
60
|
|
|
61
61
|
export declare interface DataTableAction<T> {
|
|
62
62
|
icon: JSX.Element;
|
|
@@ -69,7 +69,7 @@ export declare interface DataTableAction<T> {
|
|
|
69
69
|
export declare interface DataTableProps<T> {
|
|
70
70
|
tableId: string;
|
|
71
71
|
headers?: Column[];
|
|
72
|
-
data?:
|
|
72
|
+
data?: T[];
|
|
73
73
|
loading?: boolean;
|
|
74
74
|
emptyMessage?: string;
|
|
75
75
|
actions?: DataTableAction<T>[];
|