File "info-modal-section.js"

Full Path: /home/warrior1/public_html/wp-content/plugins/elementor/app/modules/import-export/assets/js/shared/info-modal/info-modal-section.js
File size: 510 bytes
MIME-type: text/x-java
Charset: utf-8

import { arrayToClassName } from 'elementor-app/utils/utils.js';

import ModalProvider from 'elementor-app/ui/modal/modal';

export default function InfoModalSection( props ) {
	return (
		<ModalProvider.Section className={ arrayToClassName( [ 'e-app-import-export-info-modal__section', props.className ] ) }>
			{ props.children }
		</ModalProvider.Section>
	);
}

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

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