Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
be80a72a
Commit
be80a72a
authored
Nov 09, 2017
by
nikogu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed Ellipsis demo title
parent
e08b003f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/components/Ellipsis/demo/cover.md
src/components/Ellipsis/demo/cover.md
+1
-1
src/components/Ellipsis/demo/line.md
src/components/Ellipsis/demo/line.md
+1
-1
No files found.
src/components/Ellipsis/demo/cover.md
View file @
be80a72a
---
order
:
2
title
:
按照
高度
省略的覆盖后缀模式
title
:
按照
行数
省略的覆盖后缀模式
---
通过设置
`lines`
属性指定最大行数,如果超过这个行数的文本会自动截取。通过设置
`cover`
属性设置后缀的覆盖模式,在这种模式下可以在
`children`
中使用
`ReactNode`
。
...
...
src/components/Ellipsis/demo/line.md
View file @
be80a72a
---
order
:
1
title
:
按照
高度
省略
title
:
按照
行数
省略
---
通过设置
`lines`
属性指定最大行数,如果超过这个行数的文本会自动截取。但是在这种模式下所有
`children`
将会被转换成纯文本。
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment