onchain-uikit 5.0.2-alpha2 → 5.0.2-alpha4
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.js
CHANGED
|
@@ -28688,7 +28688,7 @@ const Lle = ({
|
|
|
28688
28688
|
{
|
|
28689
28689
|
ref: n,
|
|
28690
28690
|
id: `table_key_${m}`,
|
|
28691
|
-
className: `${eP} ${wse.reset} ${e.
|
|
28691
|
+
className: `${eP} ${wse.reset} ${e.customClassName ? e.customClassName : Ba.main}`,
|
|
28692
28692
|
style: { position: "relative", overflow: "hidden" },
|
|
28693
28693
|
onScrollCapture: (k) => {
|
|
28694
28694
|
k.target.scrollHeight !== 24 && k.target.className === "frontend-table-body" && (e.onBeforeScroll ? e.onBeforeScroll() && D(k) : D(k));
|
|
@@ -31,7 +31,7 @@ type ExtendColumnType = BasicsColumn & CompatibleITabColumn;
|
|
|
31
31
|
export type singleColumnType = ExtendColumnType;
|
|
32
32
|
export type TableColumnsType = ExtendColumnType[];
|
|
33
33
|
export interface OnChainTableProps extends Omit<TableProps<any>, 'onScroll'>, BaseComponentProps {
|
|
34
|
-
|
|
34
|
+
customClassName?: string;
|
|
35
35
|
selectedCell?: Record<string, any>;
|
|
36
36
|
columns: TableColumnsType;
|
|
37
37
|
onSubmit?: (values: any, col: any) => void;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default _default;
|
|
1
|
+
export {};
|