ic-tube/frontend/components/Background.tsx
2024-08-01 22:50:01 +03:00

22 lines
427 B
TypeScript

import React from "react";
interface BackgroundProps {
children: React.ReactNode;
className?: string;
}
const Background: React.FC<BackgroundProps> = ({ children, className }) => {
return (
<div
className={
"bg-background-light dark:bg-background-dark transition-all" +
" " +
className
}
>
{children}
</div>
);
};
export default Background;