mirror of
https://github.com/aljazceru/AgentGPT.git
synced 2025-12-18 06:24:20 +01:00
21 lines
409 B
TypeScript
21 lines
409 B
TypeScript
import React from "react";
|
|
|
|
interface DottedGridBackgroundProps {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
}
|
|
|
|
const DottedGridBackground = ({
|
|
children,
|
|
className,
|
|
}: DottedGridBackgroundProps) => {
|
|
return (
|
|
<div className={`${className ? className + " " : ""} background`}>
|
|
<div className="lower-gradient" />
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default DottedGridBackground;
|