Files
yellowbird/src/components/modules/HomepageModuleCard.tsx
T
2024-02-29 13:21:09 -05:00

22 lines
567 B
TypeScript

import { Settings2Icon } from "lucide-react";
import React, { ReactNode } from "react";
import { Button } from "../ui/button";
interface HomepageModuleProps {
title: string;
children?: ReactNode;
}
const HomepageModule = ({ title, children }: HomepageModuleProps) => {
return (
<div className="h-full bg-neutral-800 rounded-lg">
<div className="flex justify-between px-2 py-2 pb-0">
<div className="flex items-center text-lg px-2">{title}</div>
</div>
<div className="h-3/4 w-full">{children}</div>
</div>
);
};
export default HomepageModule;