import React from 'react' import clsx from 'clsx' import './Panel.scss' interface PanelProps { title: string footerContent?: React.ReactElement classes?: { root?: string header?: string content?: string footer?: string } } const Panel: React.FC = ({ title, footerContent, classes, children, }) => { return (

{title}

{children} {footerContent && ( {footerContent} )}
) } export default Panel