File tree Expand file tree Collapse file tree 3 files changed +6
-22
lines changed
Expand file tree Collapse file tree 3 files changed +6
-22
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export interface TypeSDKData {
44 appSdkInitialized : boolean ;
55}
66
7- export interface jsonProps {
7+ export interface TypeJsonProps {
88 value : object ;
99 onChange : ( value : any ) => void ;
1010}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,9 +5,12 @@ import 'brace/mode/json';
55import 'brace/theme/github' ;
66import 'jsoneditor-react/es/editor.min.css' ;
77import './index.css' ;
8- import { jsonProps } from '../../common/types' ;
8+ import { TypeJsonProps } from '../../common/types' ;
99
10- const JSONEditor : React . FC < jsonProps > = function ( { value = { } , onChange } ) {
10+ const JSONEditor : React . FC < TypeJsonProps > = function ( {
11+ value = { } ,
12+ onChange,
13+ } ) {
1114 const jsonEditorRef = useRef < JsonEditor | null > ( null ) ;
1215
1316 useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments