react-components/blog/container.tsx

10 lines
191 B
TypeScript
Raw Permalink Normal View History

2024-10-30 18:28:41 +01:00
type Props = {
children?: React.ReactNode;
};
const Container = ({ children }: Props) => {
return <div className="container mx-auto px-5">{children}</div>;
};
export default Container;