// @flow import * as React from 'react'; import './Section.scss'; type Props = { children: React.Node, className?: string, description?: React.Node, /** Section title */ id?: string, /** Section description */ title: React.Node, }; const Section = ({ children, id, className = '', description, title }: Props) => (
{title}
{description}
{children}
); export default Section;