From 07940a4836c5dacef7e7b5b2316d65998daac4ff Mon Sep 17 00:00:00 2001 From: bqy_fe <1743369777@qq.com> Date: Sat, 9 Apr 2022 22:20:09 +0800 Subject: [PATCH] docs(typography): remove redundant props (#5471) --- components/typography/index.en-US.md | 2 -- components/typography/index.zh-CN.md | 2 -- 2 files changed, 4 deletions(-) diff --git a/components/typography/index.en-US.md b/components/typography/index.en-US.md index 046ed4e38..fb8b8277c 100644 --- a/components/typography/index.en-US.md +++ b/components/typography/index.en-US.md @@ -116,10 +116,8 @@ Basic text writing, including headings, body text, lists, and more. | tooltip | Whether to show tooltip | boolean | true | | | triggerType | Edit mode trigger - icon, text or both (not specifying icon as trigger hides it) | Array<`icon`\|`text`> | \[`icon`] | | | onCancel | Called when type ESC to exit editable state | function | - | | -| onCancel | Called when type ESC to exit editable state | function | - | | | onChange | Called when input at textarea | function(event) | - | | | onEnd | Called when type ENTER to exit editable state | function | - | | -| onEnd | Called when type ENTER to exit editable state | function | - | | | onStart | Called when enter editable state | function | - | | ### ellipsis diff --git a/components/typography/index.zh-CN.md b/components/typography/index.zh-CN.md index 759b996a3..660d7ecb8 100644 --- a/components/typography/index.zh-CN.md +++ b/components/typography/index.zh-CN.md @@ -117,10 +117,8 @@ cover: https://gw.alipayobjects.com/zos/alicdn/GOM1KQ24O/Typography.svg | tooltip | 是否展示提示文本 | boolean | true | | | triggerType | Edit mode trigger - icon, text or both (not specifying icon as trigger hides it) | Array<`icon`\|`text`> | \[`icon`] | | | onCancel | 按 ESC 退出编辑状态时触发 | function | - | | -| onCancel | 按 ESC 退出编辑状态时触发 | function | - | | | onChange | 文本域编辑时触发 | function(event) | - | | | onEnd | 按 ENTER 结束编辑状态时触发 | function | - | | -| onEnd | 按 ENTER 结束编辑状态时触发 | function | - | | | onStart | 进入编辑中状态时触发 | function | - | | ### ellipsis