Skip to content

Commit

Permalink
docs: update button doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Mar 6, 2019
1 parent bdda185 commit 5dc6ad7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions components/button/demo/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@ const md = {
按钮用于开始一个即时操作。
## 何时使用
标记了一个(或封装一组)操作命令,响应用户点击行为,触发相应的业务逻辑。
## 组件注册
\`\`\`js
import { Button } from 'ant-design-vue';
Vue.use(Button);
\`\`\`
## 代码演示`,
us: `# Button
To trigger an operation.
## When To Use
A button means an operation (or a series of operations). Clicking a button will trigger corresponding business logic.
## Component Registration
\`\`\`js
import { Button } from 'ant-design-vue';
Vue.use(Button);
\`\`\`
## Examples
`,
};
Expand Down

0 comments on commit 5dc6ad7

Please sign in to comment.