From 6f91d6383bdd0272ce3b7123b0462ba0c6974658 Mon Sep 17 00:00:00 2001 From: Joachim Viide Date: Tue, 12 Nov 2024 13:07:09 +0000 Subject: [PATCH] Add lineClamp proprety for ui/experimental/Box --- .changeset/wise-peas-cheat.md | 5 +++++ src/ui/experimental/Box.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/wise-peas-cheat.md diff --git a/.changeset/wise-peas-cheat.md b/.changeset/wise-peas-cheat.md new file mode 100644 index 0000000..67853ad --- /dev/null +++ b/.changeset/wise-peas-cheat.md @@ -0,0 +1,5 @@ +--- +"@badrap/libapp": patch +--- + +Add lineClamp proprety for ui/experimental/Box diff --git a/src/ui/experimental/Box.ts b/src/ui/experimental/Box.ts index ae9c97f..1445f62 100644 --- a/src/ui/experimental/Box.ts +++ b/src/ui/experimental/Box.ts @@ -17,6 +17,7 @@ type BoxProps = { flexBasis?: Responsive; flexGrow?: Responsive; flexShrink?: Responsive; + lineClamp?: number | string; display?: Responsive<"none" | "block" | "inline-block">; children?: UiNode; };