import React from 'react'


const Page: React.FC<{ children: React.ReactNode, topNav?: React.ReactNode, bottomNav?: React.ReactNode }> = ({ children, topNav, bottomNav }) => {
    return (
        <div className="page">
            {topNav}
            {children}
            {bottomNav}
        </div>
    )
}

export default Page