diff --git a/app/javascript/gabsocial/components/block_heading.js b/app/javascript/gabsocial/components/block_heading.js new file mode 100644 index 00000000..468ee27b --- /dev/null +++ b/app/javascript/gabsocial/components/block_heading.js @@ -0,0 +1,21 @@ +import Heading from './heading' + +export default class BlockHeading extends PureComponent { + + static propTypes = { + title: PropTypes.string.isRequired, + } + + render() { + const { title } = this.props + + return ( +
+
+ {title} +
+
+ ) + } + +} \ No newline at end of file