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,8 +27,4 @@ import Styles from './ClearSection.scss';
import Section from './../Section';
export default (props) => {
let clazz = "c-clear-section";
if(props.className) clazz += " " + props.className;
return <Section {...props} className={clazz} />;
};
export default props => <Section {...props} className={`c-clear-section ${props.className||""}`} />;