Last active
December 17, 2019 18:09
-
-
Save fahimxyz/359556b033c8f79f0581ec4da0f5b806 to your computer and use it in GitHub Desktop.
Divi Module JSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// External Dependencies | |
import React, { Component } from 'react'; | |
import Swiper from 'swiper'; | |
// Internal Dependencies | |
import './style.css'; | |
class Prefix_Module_Name extends Component { | |
static slug = 'prefix_module_name'; | |
static css(props) { | |
const additionalCss = []; | |
return additionalCss; | |
} | |
render() { | |
return ( | |
<div className="wrap">{this.props.content}</div> | |
); | |
} | |
} | |
export default Prefix_Module_Name; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment