Skip to content

Commit

Permalink
doc: update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
1587315093 committed Jul 5, 2023
1 parent 839c55b commit 02885c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ellipsis/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
2 changes: 1 addition & 1 deletion src/components/ellipsis/index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down

0 comments on commit 02885c8

Please sign in to comment.