Clamp
is able to clamp multiline text content.
This is the pure CSS solution (experimental status).
Basic usage of Clamp component.
Properties | Description | Type | Default |
---|---|---|---|
maxLines | The max number of lines that could be displayed, optional | number | 3 |
prefixCls | the prefix class | string | r-clamp |
className | the css class name | string | '' |