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

@ -27,11 +27,4 @@ import Styles from './BodySection.scss';
import Section from './../Section';
export default function(props) {
let clazz = "c-body-section";
if(props.className) clazz += ` ${props.className}`;
return (
<Section {...props} className={clazz} />
);
};
export default props => <Section {...props} className={`c-body-section ${props.className||""}`} />;