%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/dopla/www/wp-content/plugins/ml-slider/admin/assets/js/gutenberg/components/
Upload File :
Create Path :
Current File : /home/dopla/www/wp-content/plugins/ml-slider/admin/assets/js/gutenberg/components/block-save.js

// @codingStandardsIgnoreFile
const { Fragment } = window.wp.element
/**
 * Save function - the output will be displayed on the frontend
 *
 * @param {object} props
 * @return {domObject}
 */
const save = (props) => {
	let { slideshowId, stretch, containerClass } = props.attributes
	let stretchClassName = stretch ? 'align' + stretch : ''

	return (!!slideshowId && <Fragment>
		<div class={stretchClassName}>
			[metaslider id={slideshowId} cssclass="{containerClass}"]
		</div>
	</Fragment>) || ''
}

export default save

Zerion Mini Shell 1.0