import * as React from 'react'
import { ContainerProps } from '../interfaces'

const styles = require('../../src/styles/components/container.scss')

export class Container extends React.Component<ContainerProps, any> {
    public render(): JSX.Element {
        const { id, children } = this.props
        return (
            <div id={id} className={styles.outer}>
                <div className={styles.inner}>
                    {children}
                </div>
            </div>
        )
    }
}
