@eightshift/frontend-libs
Version:
A collection of useful frontend utility modules. powered by Eightshift
21 lines (19 loc) • 609 B
JavaScript
import React from 'react';
import { PanelBody } from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import { props } from '@eightshift/frontend-libs/scripts';
import { JumbotronOptions as JumbotronOptionsComponent } from '../../../components/jumbotron/components/jumbotron-options';
export const JumbotronOptions = ({ attributes, setAttributes }) => {
return (
<PanelBody title={__('Jumbotron', '%g_textdomain%')}>
<JumbotronOptionsComponent
{...props('jumbotron', attributes, {
setAttributes,
})}
noLabel
noUseToggle
noExpandButton
/>
</PanelBody>
);
};