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