diff --git a/src/components/Ellipsis/demo/cover.md b/src/components/Ellipsis/demo/cover.md deleted file mode 100644 index bcf7b757b89a11d90b6fbb561a95ccaa41c7d3ad..0000000000000000000000000000000000000000 --- a/src/components/Ellipsis/demo/cover.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -order: 2 -title: 按照行数省略的覆盖后缀模式 ---- - -通过设置 `lines` 属性指定最大行数,如果超过这个行数的文本会自动截取。通过设置 `cover` 属性设置后缀的覆盖模式,在这种模式下可以在 `children` 中使用 `ReactNode`。 - -但是因为是覆盖形式的后缀,可能需要通过 `suffixOffset` 以及 `suffixColor` 来设置 `...` 的样式以修正。 - -````jsx -import Ellipsis from 'ant-design-pro/lib/Ellipsis'; - -const article =
There were injuries alleged in three cases in 2015, and a fourth incident in September, according to the safety recall report. After meeting with US regulators in October, the firm decided to issue a voluntary recall.
; - -ReactDOM.render( -There were injuries alleged in three cases i
ReactDOM.render(