Skip to content

Commit

Permalink
fix: add default parameter configuration (#2670)
Browse files Browse the repository at this point in the history
Co-authored-by: 田丰 <[email protected]>
  • Loading branch information
anjiazhuyouxing and 田丰 authored Jan 13, 2025
1 parent b4a26d5 commit 9e9bf77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/semi-ui/jsonViewer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ class JsonViewerCom extends BaseComponent<JsonViewerProps, JsonViewerState> {
width: 400,
height: 400,
value: '',
options: {
readOnly: false,
autoWrap: true
}
};

private editorRef: React.RefObject<HTMLDivElement>;
Expand Down

0 comments on commit 9e9bf77

Please sign in to comment.