Skip to content

Commit 63e36de

Browse files
authored
Merge pull request #4 from WeBankFinTech/fix-jsx
element 插件移除jsx
2 parents bc9c3f0 + 281f907 commit 63e36de

File tree

10 files changed

+9139
-32
lines changed

10 files changed

+9139
-32
lines changed

docs/zh/ui/element.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ sidebarDepth: 3
2525
安装到全局
2626

2727
```js
28-
import { installInGlobal } '@koala-form/core';
29-
import { componentPlugin } '@koala-form/element-plugin';
28+
import { installInGlobal } from '@koala-form/core';
29+
import { componentPlugin } from '@koala-form/element-plugin';
3030
installInGlobal(componentPlugin);
3131
```
3232

3333
在场景上下文安装
3434
```js
35-
import { useSceneContext } '@koala-form/core';
36-
import { componentPlugin } '@koala-form/element-plugin';
35+
import { useSceneContext } from '@koala-form/core';
36+
import { componentPlugin } from '@koala-form/element-plugin';
3737
const ctx = useSceneContext('name')
3838
ctx.use(componentPlugin);
3939

docs/zh/ui/fes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import '@koala-form/fes-plugin';
1818

1919
在场景上下文安装
2020
```js
21-
import { useSceneContext } '@koala-form/core';
22-
import { componentPlugin } '@koala-form/fes-plugin';
21+
import { useSceneContext } from '@koala-form/core';
22+
import { componentPlugin } from '@koala-form/fes-plugin';
2323
const ctx = useSceneContext('name')
2424
ctx.use(componentPlugin);
2525
```

0 commit comments

Comments
 (0)