This repository was archived by the owner on Apr 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : node_js
22node_js :
3+ - ' 10'
4+ - ' 8'
35 - ' 7'
46 - ' 6'
57cache : yarn
Original file line number Diff line number Diff line change @@ -4,18 +4,19 @@ import * as React from 'react';
44// <EditableSelect />
55// ----------------------------------------
66export interface IOption {
7+ label ?: string ;
78 text : string ;
8- value : string | boolean | number ;
9+ value : string | number ;
10+ disabled ?: boolean ;
911}
1012
1113export interface IEditableSelectProps extends React . SelectHTMLAttributes < HTMLSelectElement > {
1214 isEditing ?: boolean ;
1315 isEditable ?: boolean ;
1416 linkClassName ?: string ;
1517 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 ;
1920 onCancel ?: ( ) => void ;
2021 options : string [ ] | IOption [ ] ;
2122}
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ export interface IEditableTextFieldProps extends React.InputHTMLAttributes<HTMLI
88 isEditable ?: boolean ;
99 linkClassName ?: string ;
1010 nonValueText ?: string ;
11- onSaving ?: boolean ;
1211 value : string ;
1312 onSave : ( value : string | number | string [ ] ) => void ;
1413 onCancel ?: ( ) => void ;
You can’t perform that action at this time.
0 commit comments