Skip to content

Commit

Permalink
Add asChild for DrawerClose
Browse files Browse the repository at this point in the history
  • Loading branch information
kewldan committed Sep 21, 2024
1 parent 0610830 commit 4f1a265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/www/content/docs/components/drawer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ import {
</DrawerHeader>
<DrawerFooter>
<Button>Submit</Button>
<DrawerClose>
<DrawerClose asChild>
<Button variant="outline">Cancel</Button>
</DrawerClose>
</DrawerFooter>
Expand Down

0 comments on commit 4f1a265

Please sign in to comment.