// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. import React from 'react'; import {FormattedMessage} from 'react-intl'; export default class Banner extends React.Component { render() { let title = ( ); if (this.props.title) { title = this.props.title; } return (

{title}

{this.props.description}

); } } Banner.defaultProps = { }; Banner.propTypes = { title: React.PropTypes.node, description: React.PropTypes.node.isRequired };