import * as React from "react"; interface IProps { title: string; homeLink: React.ReactElement; subLink: React.ReactElement; subTitle: string; } export class Breadcrumb extends React.Component { public render(): JSX.Element { return (

{this.props.title}

{this.props.homeLink} {this.props.homeLink ? > : null} {this.props.subLink} {this.props.subLink ? > : null} {this.props.subTitle}
); } }