Cleaned the code a bit

This commit is contained in:
2018-05-11 20:38:55 +10:00
parent 84e0b496fd
commit 403ec39df3
14 changed files with 48 additions and 249 deletions

View File

@ -23,11 +23,10 @@
import React from 'react';
const Subtitle = function(props) {
export default function(props) {
return (
<p className={ "o-subtitle" + ( props.className ? " " + props.className : "") }>
{ props.children }
</p>
);
}
export default Subtitle;

View File

@ -23,11 +23,10 @@
import React from 'react';
const Title = function(props) {
export default function(props) {
return (
<h1 className={ "o-title" + ( props.className ? " " + props.className : "") }>
{ props.children }
</h1>
);
}
export default Title;