import React , { ReactNode } from 'react' ; import './style.less' ; type Props = { children : ReactNode ; } ; interface LayoutMain { ( props ) : JSX . Element | null ; } const LayoutMain = ( { children } ) => { return < div className = "layout-main" > { children } < /div>; } ; export default LayoutMain ;