@undp/carbon-library 1.0.281-CARBON-363.4 → 1.0.281-CARBON-359.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,16 +9,13 @@ interface EditableRowProps {
9
9
  index: number;
10
10
  }
11
11
  export declare const EditableRow: React.FC<EditableRowProps>;
12
- interface EditableCellProps extends React.HTMLAttributes<HTMLElement> {
13
- editing: boolean;
14
- dataIndex: string;
15
- title: any;
16
- inputType: "number" | "text";
17
- record: Item;
18
- index: number;
12
+ interface EditableCellProps {
13
+ title: React.ReactNode;
14
+ editable: boolean;
19
15
  children: React.ReactNode;
20
- onBlurHandler: any;
21
- t: any;
16
+ dataIndex: keyof Item;
17
+ record: Item;
18
+ handleSave: (record: Item) => void;
22
19
  }
23
20
  export declare const EditableCell: React.FC<EditableCellProps>;
24
21
  export {};