29 lines
675 B
JavaScript
Raw Normal View History

2016-09-08 23:38:29 +02:00
/**
*
* RightContentTitle
*
*/
import React from 'react';
2016-10-05 18:13:02 +02:00
import styles from './styles.scss';
2016-09-08 23:38:29 +02:00
class RightContentTitle extends React.Component { // eslint-disable-line react/prefer-stateless-function
render() {
return (
<div className={styles.rightContentTitle}>
2016-09-09 10:45:58 +02:00
<h2 className={styles.rightContentTitleName}>{this.props.title}</h2>
<p className={styles.rightContentTitleDescription}>{this.props.description}</p>
2016-10-05 18:13:02 +02:00
<hr className={styles.rightContentTitleSeparator}></hr>
2016-09-08 23:38:29 +02:00
</div>
);
}
}
2016-09-09 10:45:58 +02:00
RightContentTitle.propTypes = {
title: React.PropTypes.string,
description: React.PropTypes.string,
};
2016-09-08 23:38:29 +02:00
export default RightContentTitle;