kmod-cli 1.7.8 → 1.7.9
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.
|
@@ -230,31 +230,27 @@ export type PaginationProps<TData, TValue> = {
|
|
|
230
230
|
fns: DataTablePaginationFns<TData>;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
export type
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
export type ToolbarDataTableProps<TData, TValue> = ({
|
|
233
|
+
export type DataTableProps<TData, TValue> = {
|
|
234
|
+
columns: ColumnDef<TData, TValue>[];
|
|
235
|
+
data: TData[];
|
|
236
|
+
toolbarTable?: ({
|
|
238
237
|
table,
|
|
239
238
|
fns,
|
|
240
239
|
}: ToolbarProps<TData>) => ReactNode | ReactNode[];
|
|
241
|
-
|
|
240
|
+
paginationTable?: ({
|
|
242
241
|
table,
|
|
243
242
|
fns,
|
|
244
243
|
}: PaginationProps<TData, TValue>) => ReactNode | ReactNode[];
|
|
245
|
-
|
|
246
|
-
export type DataTableProps<TData, TValue> = {
|
|
247
|
-
columns: ColumnDef<TData, TValue>[];
|
|
248
|
-
data: TData[];
|
|
249
|
-
toolbarTable?: ToolbarDataTableProps<TData, TValue>;
|
|
250
|
-
paginationTable?: PaginationDataTableProps<TData, TValue>;
|
|
251
244
|
isLoading?: boolean;
|
|
252
245
|
classNames?: TableClassNames;
|
|
253
246
|
alternate?: "even" | "odd";
|
|
254
247
|
alternateColor?: string;
|
|
255
248
|
emptyLabel?: string;
|
|
256
249
|
showSortIconHeader?: boolean;
|
|
257
|
-
surfix?:
|
|
250
|
+
surfix?: ({
|
|
251
|
+
header,
|
|
252
|
+
showSortIconHeader,
|
|
253
|
+
}: SurfixProps<TData, TValue>) => ReactNode | ReactNode[];
|
|
258
254
|
enableSort?: boolean;
|
|
259
255
|
useTableProps?: UseTableProps<TData, TValue>;
|
|
260
256
|
initialState?: InitialTableState;
|