mirror of
https://github.com/strapi/strapi.git
synced 2025-08-09 09:14:49 +00:00

git-subtree-dir: packages/strapi-plugin-settings-manager git-subtree-mainline: 80aa83d8460c95366547e143c74bf79ea6ae69f8 git-subtree-split: cd241c14c6a6239bca279e7accd709ba58e87cc8
28 lines
604 B
JavaScript
28 lines
604 B
JavaScript
/**
|
|
*
|
|
* RightContentSectionTitle
|
|
*
|
|
*/
|
|
|
|
import React from 'react';
|
|
|
|
import styles from './styles.scss';
|
|
|
|
class RightContentSectionTitle extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
|
render() {
|
|
return (
|
|
<div>
|
|
<h3 className={styles.rightContentSectionTitle}>{this.props.title}</h3>
|
|
<p className={styles.rightContentSectionSubTitle}>{this.props.description}</p>
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
RightContentSectionTitle.propTypes = {
|
|
title: React.PropTypes.string,
|
|
description: React.PropTypes.string,
|
|
};
|
|
|
|
export default RightContentSectionTitle;
|