# elementor/3.8.0-beta1/app/assets/js/ui/modal/modal-section.js

Elementor Website Builder – more than just a page builder, version 3.8.0-beta1. 19 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.8.0-beta1/code/app/assets/js/ui/modal/modal-section.js
- Raw: https://pluginprobe.com/plugins/elementor/3.8.0-beta1/raw/app/assets/js/ui/modal/modal-section.js
- Modified: 2022-09-19T16:26:20+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/elementor/3.8.0-beta1/code/app/assets/js/ui/modal/modal-section.js#L10-L20`.

```javascript
import { arrayToClassName } from '../../utils/utils';

export default function ModalSection( props ) {
	return (
		<section className={ arrayToClassName( [ 'eps-modal__section', props.className ] ) }>
			{ props.children }
		</section>
	);
}

ModalSection.propTypes = {
	className: PropTypes.string,
	children: PropTypes.any,
};

ModalSection.defaultProps = {
	className: '',
};

```
