mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
13 lines
296 B
TypeScript
13 lines
296 B
TypeScript
import React from "react"
|
|
import * as SC from "./styles"
|
|
|
|
interface ContainerProps {
|
|
children: React.ReactNode
|
|
}
|
|
|
|
const Container = ({ children, ...restProps }: ContainerProps): JSX.Element => (
|
|
<SC.ContainerWrapper {...restProps}>{children}</SC.ContainerWrapper>
|
|
)
|
|
|
|
export default Container
|