@opencxh/ui-kit 3.120.4 → 3.120.6
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1270 -1252
- package/dist/index.js.map +1 -1
- package/dist/src/content/Table.d.ts +3 -1
- package/package.json +1 -1
|
@@ -107,8 +107,10 @@ export interface TableProps<T = any> {
|
|
|
107
107
|
* surface, where a second wash just muddies the edge.
|
|
108
108
|
*/
|
|
109
109
|
headerBackground?: boolean;
|
|
110
|
+
/** Padding on the left and right of the table */
|
|
111
|
+
padding?: "none" | "sm" | "md" | "lg";
|
|
110
112
|
}
|
|
111
113
|
/**
|
|
112
114
|
* High-performance Table component with sorting, pagination, search, and custom renderers
|
|
113
115
|
*/
|
|
114
|
-
export declare const Table: <T extends Record<string, any>>({ data, columns, loading, searchable, searchPlaceholder, filters, paginated, pageSizeOptions, defaultPageSize, actions, onRowClick, selectable, selectedRows, onSelectionChange, getRowKey, emptyContent, hoverable, bordered, striped, className, rowClassName, headerBackground, }: TableProps<T>) => React.JSX.Element;
|
|
116
|
+
export declare const Table: <T extends Record<string, any>>({ data, columns, loading, searchable, searchPlaceholder, filters, paginated, pageSizeOptions, defaultPageSize, actions, onRowClick, selectable, selectedRows, onSelectionChange, getRowKey, emptyContent, hoverable, bordered, striped, padding, className, rowClassName, headerBackground, }: TableProps<T>) => React.JSX.Element;
|