From bf3893b7685cbbf58912b9edeab531ffb0795c3c Mon Sep 17 00:00:00 2001 From: Loki Date: Wed, 14 Oct 2026 16:13:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(select):=20drop=20the=20default=20=E2=96=BC?= =?UTF-8?q?=20text=20from=20the=20trigger=20icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- registry/winlab/ui/select.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/registry/winlab/ui/select.tsx b/registry/winlab/ui/select.tsx index 954ece3..fb80bce 100644 --- a/registry/winlab/ui/select.tsx +++ b/registry/winlab/ui/select.tsx @@ -42,9 +42,12 @@ function SelectTrigger({ {...props} > {children} - } - /> + {/* Icon's default content is the text "▼"; passing the svg as children + replaces it, while render would keep "▼" inside the svg and in the + trigger's text. */} + + + ) }