Skip to content

Commit eff3e75

Browse files
authored
fix(Sidebar): missing slot into component (#847)
* fix(SidebarMenuAction): add slot into component * fix(SidebarMenuAction): add changes in new-york style
1 parent 83419c4 commit eff3e75

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

apps/www/src/lib/registry/default/ui/sidebar/SidebarMenuAction.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@ const props = withDefaults(defineProps<PrimitiveProps & {
2828
)"
2929
:as="as"
3030
:as-child="asChild"
31-
/>
31+
>
32+
<slot/>
33+
</Primitive>
3234
</template>

apps/www/src/lib/registry/new-york/ui/sidebar/SidebarMenuAction.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@ const props = withDefaults(defineProps<PrimitiveProps & {
2828
)"
2929
:as="as"
3030
:as-child="asChild"
31-
/>
31+
>
32+
<slot/>
33+
</Primitive>
3234
</template>

0 commit comments

Comments
 (0)