searchsmartly-ui 0.0.138 → 0.0.140
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/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/components/table/Table.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -700,15 +700,15 @@ type SmartTableColumn<T> = {
|
|
|
700
700
|
type Align = 'left' | 'center' | 'right' | 'inherit' | 'justify' | undefined;
|
|
701
701
|
type TableProps<T> = {
|
|
702
702
|
rowHeight?: number;
|
|
703
|
+
headerBackground?: string;
|
|
703
704
|
getUniqueId?: (item: T, index?: number) => string | number;
|
|
704
705
|
align?: Align;
|
|
705
706
|
minWidth?: number;
|
|
706
707
|
columns: SmartTableColumn<T>[];
|
|
707
708
|
data: T[];
|
|
708
709
|
sx?: Record<string, string | number>;
|
|
709
|
-
headerProps?: Record<string, string | number | boolean>;
|
|
710
710
|
};
|
|
711
|
-
declare function Table<T>({ rowHeight, getUniqueId, align, minWidth, columns, data, sx,
|
|
711
|
+
declare function Table<T>({ rowHeight, getUniqueId, align, minWidth, headerBackground, columns, data, sx, }: TableProps<T>): JSX$1.Element;
|
|
712
712
|
|
|
713
713
|
declare const EmptyImage: FC<{
|
|
714
714
|
sx?: Record<string, string | number>;
|