2017-03-15 11:48:56 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* PluginHeaderTitle
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
|
|
|
|
import styles from './styles.scss';
|
|
|
|
|
|
|
|
class PluginHeaderTitle extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div className={styles.pluginHeaderTitle}>
|
|
|
|
<h1 className={styles.pluginHeaderTitleName}>
|
2017-04-10 16:28:30 +02:00
|
|
|
<FormattedMessage {...this.props.title} />
|
2017-03-15 11:48:56 +01:00
|
|
|
</h1>
|
|
|
|
<p className={styles.pluginHeaderTitleDescription}>
|
2017-04-10 16:28:30 +02:00
|
|
|
<FormattedMessage {...this.props.description} />
|
2017-03-15 11:48:56 +01:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-10 16:28:30 +02:00
|
|
|
PluginHeaderTitle.propTypes = {
|
|
|
|
title: React.PropTypes.object,
|
|
|
|
description: React.PropTypes.object,
|
|
|
|
};
|
|
|
|
|
2017-03-15 11:48:56 +01:00
|
|
|
export default PluginHeaderTitle;
|