@min98/ui 1.3.33 → 1.3.35
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/lib/index.cjs +47 -47
- package/lib/index.d.cts +4 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +17 -17
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -1060,6 +1060,9 @@ type Action = {
|
|
|
1060
1060
|
action?: (payload?: any) => void;
|
|
1061
1061
|
};
|
|
1062
1062
|
interface DataTablePropsBase {
|
|
1063
|
+
className?: string;
|
|
1064
|
+
headerClass?: string;
|
|
1065
|
+
bodyClass?: string;
|
|
1063
1066
|
data: any[];
|
|
1064
1067
|
columns: ColumnDef<any>[];
|
|
1065
1068
|
search?: string;
|
|
@@ -1069,6 +1072,7 @@ interface DataTablePropsBase {
|
|
|
1069
1072
|
onPagination?: (arg: any) => void;
|
|
1070
1073
|
onSelectRow?: (arg: any) => void;
|
|
1071
1074
|
actions?: Action[];
|
|
1075
|
+
scrollable?: boolean;
|
|
1072
1076
|
}
|
|
1073
1077
|
interface DataTableWithPagination extends DataTablePropsBase {
|
|
1074
1078
|
manualPagination: true;
|
package/lib/index.d.ts
CHANGED
|
@@ -1060,6 +1060,9 @@ type Action = {
|
|
|
1060
1060
|
action?: (payload?: any) => void;
|
|
1061
1061
|
};
|
|
1062
1062
|
interface DataTablePropsBase {
|
|
1063
|
+
className?: string;
|
|
1064
|
+
headerClass?: string;
|
|
1065
|
+
bodyClass?: string;
|
|
1063
1066
|
data: any[];
|
|
1064
1067
|
columns: ColumnDef<any>[];
|
|
1065
1068
|
search?: string;
|
|
@@ -1069,6 +1072,7 @@ interface DataTablePropsBase {
|
|
|
1069
1072
|
onPagination?: (arg: any) => void;
|
|
1070
1073
|
onSelectRow?: (arg: any) => void;
|
|
1071
1074
|
actions?: Action[];
|
|
1075
|
+
scrollable?: boolean;
|
|
1072
1076
|
}
|
|
1073
1077
|
interface DataTableWithPagination extends DataTablePropsBase {
|
|
1074
1078
|
manualPagination: true;
|