PluginProbe
MotoPress Hotel Booking for Divi / trunk
MotoPress Hotel Booking for Divi vtrunk
trunk 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.0 2.0.0
mphb-divi / divi-4 / includes / modules / accommodation / attributes / attributes.jsx

attributes.jsx in MotoPress Hotel Booking for Divi trunk, at divi-4/includes/modules/accommodation/attributes/attributes.jsx

22 lines 546 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import React, { Component } from 'react';
2 import MPHBModule from '../../../components/MPHBModule';
3
4 class MPHB_Divi_Accommodation_Type_Attributes_Module extends Component {
5
6 static slug = 'mphb-divi-accommodation-type-attributes';
7
8 render() {
9
10 if ( ! this.props.__html ) {
11 return <MPHBModule
12 name={ this.props.name }
13 />
14 }
15
16 return <div dangerouslySetInnerHTML={ { __html: this.props.__html } }></div>;
17
18 }
19
20 }
21
22 export default MPHB_Divi_Accommodation_Type_Attributes_Module;