feat(ui): new <Tuncatable /> component
This commit is contained in:
@@ -74,6 +74,16 @@ Loading placeholder with animation.
|
||||
|
||||
**Slots**: `default`
|
||||
|
||||
### Truncatable
|
||||
|
||||
Line-clamped content container that expands and collapses when the overflowing content area is clicked.
|
||||
|
||||
| Prop | Type | Default | Description |
|
||||
|------|------|---------|-------------|
|
||||
| `lineClamp` | `number?` | `3` | Maximum visible lines while collapsed |
|
||||
|
||||
**Slots**: `default`
|
||||
|
||||
---
|
||||
|
||||
## Misc
|
||||
|
||||
Reference in New Issue
Block a user