Skip to content

Commit 6f91d63

Browse files
committed
Add lineClamp proprety for ui/experimental/Box
1 parent 954fb42 commit 6f91d63

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/wise-peas-cheat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@badrap/libapp": patch
3+
---
4+
5+
Add lineClamp proprety for ui/experimental/Box

src/ui/experimental/Box.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ type BoxProps = {
1717
flexBasis?: Responsive<string>;
1818
flexGrow?: Responsive<string>;
1919
flexShrink?: Responsive<string>;
20+
lineClamp?: number | string;
2021
display?: Responsive<"none" | "block" | "inline-block">;
2122
children?: UiNode;
2223
};

0 commit comments

Comments
 (0)