import * as React from "react"; import {Component} from "react"; interface DefaultSectionProps { title: string; paragraphs?: string[]; className?: string; } interface DefaultSectionState {} export default class DefaultSection extends Component { constructor(props: DefaultSectionProps) { super(props); this.state = {}; } public render() { return
{this.props.title}
{(this.props.paragraphs ? this.props.paragraphs : []).map(n=>(

{n}

))} {this.props.children}
; } }