UNPKG

@eightshift/frontend-libs

Version:

A collection of useful frontend utility modules. powered by Eightshift

20 lines (18 loc) 617 B
import React from 'react'; import { __ } from '@wordpress/i18n'; import { PanelBody } from '@wordpress/components'; import { props } from '@eightshift/frontend-libs/scripts'; import { ImageOptions } from '../../../components/image/components/image-options'; export const SiteNavigationOptions = ({ attributes, setAttributes }) => { return ( <PanelBody title={__('Site navigation', '%g_textdomain%')}> <ImageOptions {...props('logo', attributes, { setAttributes })} label={__('Logo', '%g_textdomain%')} hideFullSizeToggle hideRoundedCornersToggle noBottomSpacing /> </PanelBody> ); };