@agentscope-ai/design 1.0.27-beta.1769741632982 → 1.0.28-beta.1769761940248

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,6 @@ import { CodeBlock, CollapsePanel, message } from "../../../..";
2
2
  import { SparkCode01Line, SparkCopyLine } from '@agentscope-ai/icons';
3
3
  import { Flex } from 'antd';
4
4
  import React from 'react';
5
- import { EditorView } from '@codemirror/view';
6
5
  import { jsx as _jsx } from "react/jsx-runtime";
7
6
  import { jsxs as _jsxs } from "react/jsx-runtime";
8
7
  var App = function App() {
@@ -41,10 +40,8 @@ var App = function App() {
41
40
  }
42
41
  }),
43
42
  children: /*#__PURE__*/_jsx(CodeBlock, {
44
- language: "json",
45
- value: " {\n \"name\": \"John Press ENTER to open in the browser...\",\n \"age\": 30,\n \"city\": \"New York\"\n }",
46
- readOnly: true,
47
- extensions: [EditorView.lineWrapping]
43
+ language: 'javascript',
44
+ value: value
48
45
  })
49
46
  })
50
47
  });