import React, { FC } from 'react'
import { useTheme } from '../hooks'

const Section: FC = ({ children }) => {
    const theme = useTheme()
    return (
        <section style={{ backgroundColor: theme.backgroundPrimary, color: theme.text }}>
            {children}
        </section>
    )
}

export default Section
