mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-29 09:12:46 -04:00
24 lines
483 B
TypeScript
24 lines
483 B
TypeScript
import { cn } from "@/utils/helpers";
|
|
import { GradientFadedBackground } from "@/components/GradientFadedBackground";
|
|
|
|
export const Card = ({
|
|
children,
|
|
className,
|
|
}: {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
}) => {
|
|
return (
|
|
<div
|
|
className={cn(
|
|
"px-6 sm:px-10 py-10 pt-8",
|
|
"bg-nb-gray-940 border border-nb-gray-910 rounded-lg relative",
|
|
className
|
|
)}
|
|
>
|
|
<GradientFadedBackground />
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|