mirror of
https://github.com/strapi/strapi.git
synced 2025-08-08 08:46:42 +00:00
28 lines
603 B
JavaScript
28 lines
603 B
JavaScript
/**
|
|
*
|
|
* RightContentSectionTitle
|
|
*
|
|
*/
|
|
|
|
import React from 'react';
|
|
|
|
import styles from './styles.css';
|
|
|
|
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;
|