# mphb-divi/trunk/divi-4/includes/components/MPHBModule.jsx

MotoPress Hotel Booking for Divi, version trunk. 35 lines.

- Page: https://pluginprobe.com/plugins/mphb-divi/trunk/code/divi-4/includes/components/MPHBModule.jsx
- Raw: https://pluginprobe.com/plugins/mphb-divi/trunk/raw/divi-4/includes/components/MPHBModule.jsx
- Modified: 2026-04-24T07:14:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/mphb-divi/trunk/code/divi-4/includes/components/MPHBModule.jsx#L10-L20`.

```jsx
import React from 'react';

const MPHBModule = ( {
    name,
    description = ''
} ) => (
    <div>
        <div style={
            {
                'background': '#f6f7f7',
                'borderRadius': '10px',
                'padding': '3em 1em'
            }
        }>
            <p
                style={
                    {
                        'textAlign': 'center',
                        'fontWeight': '700',
                        'fontSize': '1.5em'
                    }
                }
            >{ name }</p>
            { description && <p
                style={
                    {
                        'textAlign': 'center'
                    }
                }
            >{ description }</p> }
        </div>
    </div>
);

export default MPHBModule;
```
