dishplanner/frontend/app/components/layout/Card.tsx

15 lines
No EOL
297 B
TypeScript

import React, {FC} from "react";
interface Props {
children: React.ReactNode;
}
const Card: FC<Props> = ({ children }) => {
return (
<div className="w-full border-2 border-secondary p-2 pl-4 my-2 rounded flex">
{ children }
</div>
)
}
export default Card