@undp/carbon-library 1.0.152 → 1.0.155
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/cjs/index.js +103 -114
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/AntComponents/antTableComponents.d.ts +13 -14
- package/dist/esm/index.js +105 -116
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/AntComponents/antTableComponents.d.ts +13 -14
- package/package.json +1 -1
@@ -1,21 +1,20 @@
|
|
1
1
|
import React from "react";
|
2
|
-
|
2
|
+
type NdcDetail = {
|
3
3
|
key: string;
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
4
|
+
startDate: Date;
|
5
|
+
endDate: Date;
|
6
|
+
nationalPlanObj: string;
|
7
|
+
kpi: number;
|
8
|
+
subNdcDetails?: [];
|
9
|
+
};
|
10
|
+
interface EditableCellProps extends React.HTMLAttributes<HTMLElement> {
|
11
|
+
editing: boolean;
|
12
|
+
dataIndex: string;
|
13
|
+
title: any;
|
14
|
+
inputType: "number" | "text";
|
15
|
+
record: NdcDetail;
|
9
16
|
index: number;
|
10
|
-
}
|
11
|
-
export declare const EditableRow: React.FC<EditableRowProps>;
|
12
|
-
interface EditableCellProps {
|
13
|
-
title: React.ReactNode;
|
14
|
-
editable: boolean;
|
15
17
|
children: React.ReactNode;
|
16
|
-
dataIndex: keyof Item;
|
17
|
-
record: Item;
|
18
|
-
handleSave: (record: Item) => void;
|
19
18
|
}
|
20
19
|
export declare const EditableCell: React.FC<EditableCellProps>;
|
21
20
|
export {};
|