Crunched and clean all the components even more.
This commit is contained in:
1 parent
21aed1b61f
commit
f598a0295c
10 files changed
+59
-87
No files matched your search
@@ -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