From 9058588fe6c31d002e7729e39f4530b474dceddd Mon Sep 17 00:00:00 2001 From: liuchuzhang Date: Mon, 4 Mar 2019 17:35:03 +0800 Subject: [PATCH] fix document --- components/typography/index.en-US.md | 6 +++--- components/typography/index.zh-CN.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/typography/index.en-US.md b/components/typography/index.en-US.md index 42fe2f7045..c3f7b76297 100644 --- a/components/typography/index.en-US.md +++ b/components/typography/index.en-US.md @@ -21,7 +21,7 @@ When need to display title or text content. Like: | Property | Description | Type | Default | | -------- | ----------- | ---- | ------- | -| copyable | Config copy. Can set copy text and callback when is an object | boolean \| { text: string, onCopy: Function } | false |boolean \| string | false | +| copyable | Config copy. Can set copy text and callback when is an object | boolean \| { text: string, onCopy: Function } | false | | delete | delete line style | boolean | false | | disabled | Disable content | boolean | false | | editable | Editable. Can control edit state when is object | boolean \| { editing: boolean, onStart: Function, onChange: Function(string) } | false | @@ -36,7 +36,7 @@ When need to display title or text content. Like: | Property | Description | Type | Default | | -------- | ----------- | ---- | ------- | -| copyable | Config copy. Can set copy text and callback when is an object | boolean \| { text: string, onCopy: Function } | false |boolean \| string | false | +| copyable | Config copy. Can set copy text and callback when is an object | boolean \| { text: string, onCopy: Function } | false | | delete | delete line style | boolean | false | | disabled | Disable content | boolean | false | | editable | Editable. Can control edit state when is object | boolean \| { editing: boolean, onStart: Function, onChange: Function(string) } | false | @@ -51,7 +51,7 @@ When need to display title or text content. Like: | Property | Description | Type | Default | | -------- | ----------- | ---- | ------- | -| copyable | Config copy. Can set copy text and callback when is an object | boolean \| { text: string, onCopy: Function } | false |boolean \| string | false | +| copyable | Config copy. Can set copy text and callback when is an object | boolean \| { text: string, onCopy: Function } | false | | delete | delete line style | boolean | false | | disabled | Disable content | boolean | false | | editable | Editable. Can control edit state when is object | boolean \| { editing: boolean, onStart: Function, onChange: Function(string) } | false | diff --git a/components/typography/index.zh-CN.md b/components/typography/index.zh-CN.md index ee9fd941d0..ef0fc79d3b 100644 --- a/components/typography/index.zh-CN.md +++ b/components/typography/index.zh-CN.md @@ -51,7 +51,7 @@ cols: 1 | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | - +| copyable | 是否可拷贝,为对象时可设置复制文本以回调函数 | boolean \| { text: string, onCopy: Function } | false | | delete | 添加删除线样式 | boolean | false | | disabled | 禁用文本 | boolean | false | | editable | 是否可编辑,为对象时可对编辑进行控制 | boolean \| { editing: boolean, onStart: Function, onChange: Function(string) } | false |