import { ReactNode } from 'react'; type Props = { className?: string, children?: ReactNode, sideContents?: ReactNode, footerContents?: ReactNode, } export const MainPane = (props: Props): JSX.Element => { const { className, children, sideContents, footerContents, } = props; return ( <>
{ sideContents != null ? (
{children}
{sideContents}
) : ( <>{children} ) }
{ footerContents != null && ( ) } ); };