Crunched and clean all the components even more.

This commit is contained in:
2018-10-28 21:48:33 +11:00
parent 21aed1b61f
commit f598a0295c
10 changed files with 59 additions and 87 deletions

View File

@ -25,7 +25,7 @@ import React from 'react';
import Styles from './Section.scss';
export default (props) => {
export default props => {
let newProps = {...props};
let { full, className, children } = props;
@ -35,9 +35,7 @@ export default (props) => {
if(full) clazz += " is-full";
if(className) clazz += ` ${className}`;
return (
<section {...newProps} className={clazz} />
);
return <section {...newProps} className={clazz} />;
}
import BodySection from './body/BodySection';