File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
apps/docs/src/registry/example Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { createSignal } from "solid-js"
3
3
import { isServer } from "solid-js/web"
4
4
5
5
import { As } from "@kobalte/core"
6
- import { As as CorvuAs } from "corvu"
7
6
8
7
import { cn } from "~/lib/utils"
9
8
import { Button } from "~/registry/ui/button"
@@ -59,10 +58,8 @@ export default function DrawerDialogDemo() {
59
58
60
59
return (
61
60
< Drawer open = { open ( ) } onOpenChange = { setOpen } >
62
- < DrawerTrigger asChild >
63
- < CorvuAs component = { Button } variant = "outline" >
64
- Edit Profile
65
- </ CorvuAs >
61
+ < DrawerTrigger as = { Button } variant = "outline" >
62
+ Edit Profile
66
63
</ DrawerTrigger >
67
64
< DrawerContent >
68
65
< DrawerHeader class = "text-left" >
@@ -73,10 +70,8 @@ export default function DrawerDialogDemo() {
73
70
</ DrawerHeader >
74
71
< ProfileForm class = "px-4" />
75
72
< DrawerFooter class = "pt-2" >
76
- < DrawerClose asChild >
77
- < CorvuAs component = { Button } variant = "outline" >
78
- Cancel
79
- </ CorvuAs >
73
+ < DrawerClose as = { Button } variant = "outline" >
74
+ Cancel
80
75
</ DrawerClose >
81
76
</ DrawerFooter >
82
77
</ DrawerContent >
You can’t perform that action at this time.
0 commit comments