Crunched and clean all the components even more.
This commit is contained in:
@ -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||""}`} />;
|
||||
|
Reference in New Issue
Block a user