diff --git a/packages/redux-devtools-ui/src/Editor/Editor.tsx b/packages/redux-devtools-ui/src/Editor/Editor.tsx index aa172e69..86e7a60f 100644 --- a/packages/redux-devtools-ui/src/Editor/Editor.tsx +++ b/packages/redux-devtools-ui/src/Editor/Editor.tsx @@ -18,7 +18,7 @@ const EditorContainer = styled.div( ); export interface EditorProps { - value: string; + value?: string; lineNumbers?: boolean; readOnly?: boolean; theme?: Base16Theme; @@ -28,7 +28,7 @@ export interface EditorProps { } export default function Editor({ - value, + value = '', lineNumbers = true, readOnly = false, foldGutter = true,