pull/9/head
tangjinzhou 2018-01-25 17:51:23 +08:00
parent fd31801281
commit 17373b2578
1 changed files with 7 additions and 7 deletions

View File

@ -9,23 +9,23 @@ import Multiple from './multiple'
import Size from './size' import Size from './size'
import CN from '../index.zh-CN.md' import CN from '../index.zh-CN.md'
import US from '../index.en-US.md' import US from '../index.en-US.md'
export default { const md = {
render () { cn: `# Button 按钮
const md = {
cn: `# Button 按钮
按钮用于开始一个即时操作 按钮用于开始一个即时操作
## 何时使用 ## 何时使用
标记了一个或封装一组操作命令响应用户点击行为触发相应的业务逻辑 标记了一个或封装一组操作命令响应用户点击行为触发相应的业务逻辑
## 代码演示`, ## 代码演示`,
us: `# Button us: `# Button
To trigger an operation. To trigger an operation.
## When To Use ## When To Use
A button means an operation (or a series of operations). Clicking a button will trigger corresponding business logic. A button means an operation (or a series of operations). Clicking a button will trigger corresponding business logic.
`, `,
} }
export default {
render () {
return ( return (
<div> <div>
<md {...md}/> <md cn={md.cn} us={md.us}/>
<Basic /> <Basic />
<ButtonGroup /> <ButtonGroup />
<Disabled /> <Disabled />