mirror of
https://github.com/strapi/strapi.git
synced 2025-08-08 08:46:42 +00:00
31 lines
729 B
JavaScript
31 lines
729 B
JavaScript
/**
|
|
*
|
|
* PluginHeaderTitle
|
|
*
|
|
*/
|
|
|
|
import React from 'react';
|
|
import { FormattedMessage } from 'react-intl';
|
|
import messages from './messages.json';
|
|
import { define } from '../../i18n';
|
|
define(messages);
|
|
|
|
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}>
|
|
<FormattedMessage {...messages.title} />
|
|
</h1>
|
|
<p className={styles.pluginHeaderTitleDescription}>
|
|
<FormattedMessage {...messages.description} />
|
|
</p>
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default PluginHeaderTitle;
|