import { ComponentClass , FunctionComponent } from 'react' ; import { AppViewLayout } from '../types' ; import EmptyLayout , { EmptyLayoutProps } from './EmptyLayout/EmptyLayout' ; import HeaderAndSidenavLayout , { HeaderAndSidenavLayoutProps } from './HeaderAndSidenavLayout/HeaderAndSidenavLayout' ; type AnyLayoutProps = EmptyLayoutProps | HeaderAndSidenavLayoutProps ; const layouts = [ { id : AppViewLayout . Empty , component : EmptyLayout , } , { id : AppViewLayout . HeaderAndSidenav , component : HeaderAndSidenavLayout , } , ] ; export default layouts ;