import React, { ReactNode, CSSProperties } from 'react'; interface WhitelabelLayoutProps { children: ReactNode; header?: ReactNode; footer?: ReactNode; customStyles?: CSSProperties; } const WhitelabelLayout: React.FC = ({ children, header = null, footer = null, customStyles = {} }) => { return (
{header &&
{header}
}
{children}
{footer && }
); }; export default WhitelabelLayout;