Skip to content

Commit 0479fd3

Browse files
committed
fix(web): expose menu label slot
1 parent 5b8a6c3 commit 0479fd3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/web/src/components/ui/menu.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ function MenuItem({
115115
function MenuItemLabel({ className, ...props }: React.ComponentProps<"span">) {
116116
return (
117117
<span
118+
data-slot="menu-item-label"
118119
className={cn(
119120
"min-w-0 in-data-[density=touch]:[text-box:trim-both_cap_alphabetic] supports-[text-box:trim-both_cap_alphabetic]:in-data-[density=touch]:py-[0.5em]",
120121
className,

0 commit comments

Comments
 (0)