import * as React from 'react'; interface IProps { heading?: string; description?: string; icon?: string; } export class PanelInfo extends React.PureComponent { render() { return (
{this.props.icon && (
)} {this.props.heading && (
{this.props.heading}
)} {this.props.description && (
{this.props.description}
)}
); } }