Refactored more image based code
This commit is contained in:
@ -32,7 +32,7 @@ export default class Section extends React.Component {
|
||||
return (
|
||||
<section className={
|
||||
"c-section" +
|
||||
(this.props.full?" c-section--full":"") +
|
||||
(this.props.full?" is-full":"") +
|
||||
(this.props.className ? " "+this.props.className : "")
|
||||
}>
|
||||
{ this.props.children }
|
||||
@ -41,8 +41,10 @@ export default class Section extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
import ImageSection from './image/ImageSection';
|
||||
import VideoSection from './video/VideoSection';
|
||||
|
||||
export {
|
||||
ImageSection,
|
||||
VideoSection
|
||||
}
|
||||
|
Reference in New Issue
Block a user