This repository was archived by the owner on Apr 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
+ - ' 10'
4
+ - ' 8'
3
5
- ' 7'
4
6
- ' 6'
5
7
cache : yarn
Original file line number Diff line number Diff line change @@ -4,18 +4,19 @@ import * as React from 'react';
4
4
// <EditableSelect />
5
5
// ----------------------------------------
6
6
export interface IOption {
7
+ label ?: string ;
7
8
text : string ;
8
- value : string | boolean | number ;
9
+ value : string | number ;
10
+ disabled ?: boolean ;
9
11
}
10
12
11
13
export interface IEditableSelectProps extends React . SelectHTMLAttributes < HTMLSelectElement > {
12
14
isEditing ?: boolean ;
13
15
isEditable ?: boolean ;
14
16
linkClassName ?: string ;
15
17
nonValueText ?: string ;
16
- onSaving ?: boolean ;
17
- value : string ;
18
- onSave : ( value : string | number | string [ ] ) => void ;
18
+ value : string | string [ ] ;
19
+ onSave : ( value : string | string [ ] | number ) => void ;
19
20
onCancel ?: ( ) => void ;
20
21
options : string [ ] | IOption [ ] ;
21
22
}
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ export interface IEditableTextFieldProps extends React.InputHTMLAttributes<HTMLI
8
8
isEditable ?: boolean ;
9
9
linkClassName ?: string ;
10
10
nonValueText ?: string ;
11
- onSaving ?: boolean ;
12
11
value : string ;
13
12
onSave : ( value : string | number | string [ ] ) => void ;
14
13
onCancel ?: ( ) => void ;
You can’t perform that action at this time.
0 commit comments