1- import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'
2- import type * as React from 'react'
3- import { buttonVariants } from '@/components/primitives/button'
4- import { cn } from '@/lib/utils'
1+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog' ;
2+ import type * as React from 'react' ;
3+ import { buttonVariants } from '@/components/primitives/button' ;
4+ import { cn } from '@/lib/utils' ;
55
66function AlertDialog ( {
77 ...props
88} : React . ComponentProps < typeof AlertDialogPrimitive . Root > ) {
9- return < AlertDialogPrimitive . Root data-slot = "alert-dialog" { ...props } />
9+ return < AlertDialogPrimitive . Root data-slot = "alert-dialog" { ...props } /> ;
1010}
1111
1212function AlertDialogTrigger ( {
1313 ...props
1414} : React . ComponentProps < typeof AlertDialogPrimitive . Trigger > ) {
1515 return (
1616 < AlertDialogPrimitive . Trigger data-slot = "alert-dialog-trigger" { ...props } />
17- )
17+ ) ;
1818}
1919
2020function AlertDialogPortal ( {
2121 ...props
2222} : React . ComponentProps < typeof AlertDialogPrimitive . Portal > ) {
2323 return (
2424 < AlertDialogPrimitive . Portal data-slot = "alert-dialog-portal" { ...props } />
25- )
25+ ) ;
2626}
2727
2828function AlertDialogOverlay ( {
@@ -38,7 +38,7 @@ function AlertDialogOverlay({
3838 ) }
3939 { ...props }
4040 />
41- )
41+ ) ;
4242}
4343
4444function AlertDialogContent ( {
@@ -57,7 +57,7 @@ function AlertDialogContent({
5757 { ...props }
5858 />
5959 </ AlertDialogPortal >
60- )
60+ ) ;
6161}
6262
6363function AlertDialogHeader ( {
@@ -70,7 +70,7 @@ function AlertDialogHeader({
7070 className = { cn ( 'flex flex-col gap-2 text-center sm:text-left' , className ) }
7171 { ...props }
7272 />
73- )
73+ ) ;
7474}
7575
7676function AlertDialogFooter ( {
@@ -86,7 +86,7 @@ function AlertDialogFooter({
8686 ) }
8787 { ...props }
8888 />
89- )
89+ ) ;
9090}
9191
9292function AlertDialogTitle ( {
@@ -99,7 +99,7 @@ function AlertDialogTitle({
9999 className = { cn ( 'text-lg font-semibold' , className ) }
100100 { ...props }
101101 />
102- )
102+ ) ;
103103}
104104
105105function AlertDialogDescription ( {
@@ -112,7 +112,7 @@ function AlertDialogDescription({
112112 className = { cn ( 'text-muted-foreground text-sm' , className ) }
113113 { ...props }
114114 />
115- )
115+ ) ;
116116}
117117
118118function AlertDialogAction ( {
@@ -124,7 +124,7 @@ function AlertDialogAction({
124124 className = { cn ( buttonVariants ( ) , className ) }
125125 { ...props }
126126 />
127- )
127+ ) ;
128128}
129129
130130function AlertDialogCancel ( {
@@ -136,7 +136,7 @@ function AlertDialogCancel({
136136 className = { cn ( buttonVariants ( { variant : 'outline' } ) , className ) }
137137 { ...props }
138138 />
139- )
139+ ) ;
140140}
141141
142142export {
@@ -151,4 +151,4 @@ export {
151151 AlertDialogDescription ,
152152 AlertDialogAction ,
153153 AlertDialogCancel ,
154- }
154+ } ;
0 commit comments