mars-v2-frontend/components/Container/index.tsx

14 lines
313 B
TypeScript
Raw Normal View History

2022-09-02 14:40:10 +00:00
import React from "react";
import styles from "./Container.module.css";
type Props = {
children: React.ReactNode;
className?: string;
};
const Container = ({ children, className = "" }: Props) => {
return <div className={`${styles.container} ${className}`}>{children}</div>;
};
export default Container;