@undp/carbon-library 1.0.152-CARBON-343.0 → 1.0.152-CARBON-343.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,21 +1,20 @@
1
1
  import React from "react";
2
- interface Item {
2
+ type NdcDetail = {
3
3
  key: string;
4
- name: string;
5
- age: string;
6
- address: string;
7
- }
8
- interface EditableRowProps {
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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.152-CARBON-343.0",
3
+ "version": "1.0.152-CARBON-343.1",
4
4
  "description": "Shared Library of tools for Carbon Credits applications ecosystem for ExO and and HQ/GEF",
5
5
  "type": "module",
6
6
  "scripts": {