From 02885c81c1c3baf2c847316c08c17629c46a5ae3 Mon Sep 17 00:00:00 2001 From: jzh <1587315093@qq.com> Date: Wed, 5 Jul 2023 12:11:50 +0800 Subject: [PATCH] doc: update doc --- src/components/ellipsis/index.en.md | 2 +- src/components/ellipsis/index.zh.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ellipsis/index.en.md b/src/components/ellipsis/index.en.md index 424be7077e..e954e63b93 100644 --- a/src/components/ellipsis/index.en.md +++ b/src/components/ellipsis/index.en.md @@ -18,9 +18,9 @@ When the display space is not enough, hide some content and replace it with "... | Name | Description | Type | Default | | --- | --- | --- | --- | +| collapseText | Collapse operation text | `React.ReactNode` | `''` | | content | The text content | `string` | - | | direction | Position omitted | `'start' \| 'end' \| 'middle'` | `'end'` | -| collapseText | Collapse operation text | `React.ReactNode` | `''` | | expandText | Expand operation text | `React.ReactNode` | `''` | | onContentClick | Trigger when clicked text content | `(e: React.MouseEvent) => void` | - | | rows | The number to display lines | `number` | `1` | diff --git a/src/components/ellipsis/index.zh.md b/src/components/ellipsis/index.zh.md index d5a9dc4d4c..301d71f079 100644 --- a/src/components/ellipsis/index.zh.md +++ b/src/components/ellipsis/index.zh.md @@ -18,9 +18,9 @@ | 属性 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | +| collapseText | 收起操作的文案 | `React.ReactNode` | `''` | | content | 文本内容 | `string` | - | | direction | 省略位置 | `'start' \| 'end' \| 'middle'` | `'end'` | -| collapseText | 收起操作的文案 | `React.ReactNode` | `''` | | expandText | 展开操作的文案 | `React.ReactNode` | `''` | | onContentClick | 点击文本内容时触发 | `(e: React.MouseEvent) => void` | - | | rows | 展示几行 | `number` | `1` |