import React from 'react' import { BaseSection, SectionContentSize } from '../../../layout/section/baseSection' import { StyledIllustratedSection } from './IllustratedSection.style' export type IllustratedSectionProps = Readonly<{ children: React.ReactNode className?: string illustration: JSX.Element }> /** * A specialized section which show some content with an illustration. */ export const IllustratedSection: React.SFC = ({ children, className = '', illustration, }: IllustratedSectionProps) => (
{illustration}
{children}
)