Skip to content

Commit

Permalink
feat: 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyair committed May 18, 2020
1 parent 86af241 commit 2617f78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
12 changes: 1 addition & 11 deletions docs/examples/demo/demo1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,7 @@ const Demo = () => {
required
>
{[
{
type: 'input',
label: 'name',
name: 'name',
plugins: {
// format: v => {
// console.log('v', v);
// },
disabled: true,
},
},
{ type: 'input', label: 'name', name: 'name' },
{ type: 'input', label: 'age', name: 'age', componentProps: { suffix: '岁' } },
{ type: 'money', label: 'money', name: 'money' },
{ type: 'submit' },
Expand Down
8 changes: 8 additions & 0 deletions docs/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@ nav:
## 基础使用

<code src="./demo/demo1.tsx" />

## 弹窗使用

<code src="./demo/demo3.tsx" />

## 依赖使用

<code src="./demo/shouldUpdate.tsx" />

0 comments on commit 2617f78

Please sign in to comment.