Compare commits
1
Commits
94beb7da78
..
ace
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb7211f230 |
@@ -52,3 +52,27 @@ export function CardFooter({ children, className = '' }: CardProps) {
|
|||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function CardTitle({ children, className = '' }: CardProps) {
|
||||||
|
return (
|
||||||
|
<h2 className={`text-lg font-semibold ${className}`}>
|
||||||
|
{children}
|
||||||
|
</h2>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export function CardDescription({ children, className = '' }: CardProps) {
|
||||||
|
return (
|
||||||
|
<p className={`text-sm text-gray-600 ${className}`}>
|
||||||
|
{children}
|
||||||
|
</p>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export function CardFooter({ children, className = '' }: CardProps) {
|
||||||
|
return (
|
||||||
|
<div className={`mt-4 ${className}`}>
|
||||||
|
{children}
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
Reference in new issue
Block a user