mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-08 00:12:08 +08:00
11 lines
375 B
JavaScript
11 lines
375 B
JavaScript
export default function Container({ children, chart = true, className = "" }) {
|
|
return (
|
|
<div>
|
|
{children}
|
|
<div className={`absolute top-0 right-0 bottom-0 left-0 overflow-clip pointer-events-none ${className}`} />
|
|
{ chart && <div className="h-[68px] overflow-clip" /> }
|
|
{ !chart && <div className="h-[16px] overflow-clip" /> }
|
|
</div>
|
|
);
|
|
}
|