import {LayoutProps} from "./Layout.props"; import styles from "./Layout.module.css" import cn from "classnames"; import {Component, FunctionComponent} from "react"; const Layout = ({ children }: LayoutProps): JSX.Element => { return(
{children}
); }; export const withLayout = >(Component: FunctionComponent) => { return function withLayoutComponent(props: T): JSX.Element { return( ); }; };