mirror of
https://github.com/strapi/strapi.git
synced 2025-08-08 08:46:42 +00:00
29 lines
674 B
JavaScript
29 lines
674 B
JavaScript
/**
|
|
*
|
|
* RightContentTitle
|
|
*
|
|
*/
|
|
|
|
import React from 'react';
|
|
|
|
import styles from './styles.css';
|
|
|
|
class RightContentTitle extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
|
render() {
|
|
return (
|
|
<div className={styles.rightContentTitle}>
|
|
<h2 className={styles.rightContentTitleName}>{this.props.title}</h2>
|
|
<p className={styles.rightContentTitleDescription}>{this.props.description}</p>
|
|
<hr className={styles.rigthContentTitleSeparator}></hr>
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
RightContentTitle.propTypes = {
|
|
title: React.PropTypes.string,
|
|
description: React.PropTypes.string,
|
|
};
|
|
|
|
export default RightContentTitle;
|