1- import * as React from " react"
1+ import * as React from ' react' ;
22
3- import { cn } from " @/lib/utils"
3+ import { cn } from ' @/lib/utils' ;
44
55const Card = React . forwardRef <
66 HTMLDivElement ,
@@ -9,25 +9,25 @@ const Card = React.forwardRef<
99 < div
1010 ref = { ref }
1111 className = { cn (
12- " rounded-lg border bg-card text-card-foreground shadow-sm" ,
13- className
12+ ' rounded-lg border bg-card text-card-foreground shadow-sm' ,
13+ className ,
1414 ) }
1515 { ...props }
1616 />
17- ) )
18- Card . displayName = " Card"
17+ ) ) ;
18+ Card . displayName = ' Card' ;
1919
2020const CardHeader = React . forwardRef <
2121 HTMLDivElement ,
2222 React . HTMLAttributes < HTMLDivElement >
2323> ( ( { className, ...props } , ref ) => (
2424 < div
2525 ref = { ref }
26- className = { cn ( " flex flex-col space-y-1.5 p-6" , className ) }
26+ className = { cn ( ' flex flex-col space-y-1.5 p-6' , className ) }
2727 { ...props }
2828 />
29- ) )
30- CardHeader . displayName = " CardHeader"
29+ ) ) ;
30+ CardHeader . displayName = ' CardHeader' ;
3131
3232const CardTitle = React . forwardRef <
3333 HTMLParagraphElement ,
@@ -36,44 +36,51 @@ const CardTitle = React.forwardRef<
3636 < h3
3737 ref = { ref }
3838 className = { cn (
39- " text-2xl font-semibold leading-none tracking-tight" ,
40- className
39+ ' text-2xl font-semibold leading-none tracking-tight' ,
40+ className ,
4141 ) }
4242 { ...props }
4343 />
44- ) )
45- CardTitle . displayName = " CardTitle"
44+ ) ) ;
45+ CardTitle . displayName = ' CardTitle' ;
4646
4747const CardDescription = React . forwardRef <
4848 HTMLParagraphElement ,
4949 React . HTMLAttributes < HTMLParagraphElement >
5050> ( ( { className, ...props } , ref ) => (
5151 < p
5252 ref = { ref }
53- className = { cn ( " text-sm text-muted-foreground" , className ) }
53+ className = { cn ( ' text-sm text-muted-foreground' , className ) }
5454 { ...props }
5555 />
56- ) )
57- CardDescription . displayName = " CardDescription"
56+ ) ) ;
57+ CardDescription . displayName = ' CardDescription' ;
5858
5959const CardContent = React . forwardRef <
6060 HTMLDivElement ,
6161 React . HTMLAttributes < HTMLDivElement >
6262> ( ( { className, ...props } , ref ) => (
63- < div ref = { ref } className = { cn ( " p-6 pt-0" , className ) } { ...props } />
64- ) )
65- CardContent . displayName = " CardContent"
63+ < div ref = { ref } className = { cn ( ' p-6 pt-0' , className ) } { ...props } />
64+ ) ) ;
65+ CardContent . displayName = ' CardContent' ;
6666
6767const CardFooter = React . forwardRef <
6868 HTMLDivElement ,
6969 React . HTMLAttributes < HTMLDivElement >
7070> ( ( { className, ...props } , ref ) => (
7171 < div
7272 ref = { ref }
73- className = { cn ( " flex items-center p-6 pt-0" , className ) }
73+ className = { cn ( ' flex items-center p-6 pt-0' , className ) }
7474 { ...props }
7575 />
76- ) )
77- CardFooter . displayName = " CardFooter"
76+ ) ) ;
77+ CardFooter . displayName = ' CardFooter' ;
7878
79- export { Card , CardHeader , CardFooter , CardTitle , CardDescription , CardContent }
79+ export {
80+ Card ,
81+ CardHeader ,
82+ CardFooter ,
83+ CardTitle ,
84+ CardDescription ,
85+ CardContent ,
86+ } ;
0 commit comments