@undp/carbon-library 1.0.158-CARBON-343.1 → 1.0.158-CARBON-343.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +115 -105
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/AntComponents/antTableComponents.d.ts +14 -13
- package/dist/esm/index.js +117 -107
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/AntComponents/antTableComponents.d.ts +14 -13
- package/package.json +1 -1
@@ -1,20 +1,21 @@
|
|
1
1
|
import React from "react";
|
2
|
-
|
2
|
+
interface Item {
|
3
3
|
key: string;
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
};
|
10
|
-
interface EditableCellProps extends React.HTMLAttributes<HTMLElement> {
|
11
|
-
editing: boolean;
|
12
|
-
dataIndex: string;
|
13
|
-
title: any;
|
14
|
-
inputType: "number" | "text";
|
15
|
-
record: NdcDetail;
|
4
|
+
name: string;
|
5
|
+
age: string;
|
6
|
+
address: string;
|
7
|
+
}
|
8
|
+
interface EditableRowProps {
|
16
9
|
index: number;
|
10
|
+
}
|
11
|
+
export declare const EditableRow: React.FC<EditableRowProps>;
|
12
|
+
interface EditableCellProps {
|
13
|
+
title: React.ReactNode;
|
14
|
+
editable: boolean;
|
17
15
|
children: React.ReactNode;
|
16
|
+
dataIndex: keyof Item;
|
17
|
+
record: Item;
|
18
|
+
handleSave: (record: Item) => void;
|
18
19
|
}
|
19
20
|
export declare const EditableCell: React.FC<EditableCellProps>;
|
20
21
|
export {};
|
package/package.json
CHANGED