feat(ui): new <Tuncatable /> component

This commit is contained in:
Neko Ayaka
2026-04-29 06:05:10 +08:00
parent c9fbbfd783
commit 2d099e336b
3 changed files with 189 additions and 0 deletions
+10
View File
@@ -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