eexiv/src/app/container/Container.tsx

15 lines
534 B
TypeScript
Raw Normal View History

2024-02-10 00:43:22 -08:00
import styles from './container.module.css'
/**
* Renders a container component with the provided children. It will restrict the
* width of the container to 90vw.
*
* @param {Readonly<{ children: React.ReactNode }>} children - The child components to be rendered within the container.
* @return {React.ReactElement} The container component with the provided children.
*/
export default function Container({
children,
}: Readonly<{ children: React.ReactNode }>) {
return <div className={styles.container}>{children}</div>
}