mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
feat: added Container component
This commit is contained in:
parent
4f614fd0d8
commit
5a256147e2
14
components/Container.tsx
Normal file
14
components/Container.tsx
Normal file
@ -0,0 +1,14 @@
|
||||
const Container = ({ className, children }:ContainerProps): JSX.Element => {
|
||||
return (
|
||||
<div className={`container mx-auto px-4 ${className}`}>
|
||||
{children}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
interface ContainerProps {
|
||||
className?: string
|
||||
children: JSX.Element
|
||||
}
|
||||
|
||||
export default Container
|
||||
Loading…
x
Reference in New Issue
Block a user