import React, { FC, ReactNode } from 'react' type Props = { children: ReactNode; isMain?: boolean; alt?: boolean } const ContentLayout: FC = ({ children, isMain, alt }: Props) => { const className = alt ? 'content content-alt' : 'content' return isMain ? (
{children}
) : (
{children}
) } export default ContentLayout