14 lines
313 B
TypeScript
14 lines
313 B
TypeScript
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;
|