All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m4s
19 lines
407 B
TypeScript
19 lines
407 B
TypeScript
import { cn } from "@/common/utils";
|
|
import { ReactElement } from "react";
|
|
|
|
type CardProps = {
|
|
/**
|
|
* The children for this element.
|
|
*/
|
|
children: React.ReactNode;
|
|
|
|
/**
|
|
* The class names to append.
|
|
*/
|
|
className?: string;
|
|
};
|
|
|
|
export function Card({ children, className }: CardProps): ReactElement {
|
|
return <div className={cn("bg-secondary rounded-lg p-3", className)}>{children}</div>;
|
|
}
|