import React from "react"; import {GridItem, SimpleGrid, Stack} from "@chakra-ui/react"; interface DashboardProps { backGround?: string, sideBar?: any, NavBar?: any, body?: any, } export function DashboardContainer(props: DashboardProps) { const { backGround = "#F7F7F7", sideBar, NavBar, body, } = props; return ( {sideBar ?? ''} {NavBar ?? ''} {body ?? ''} ); }