@eightshift/frontend-libs
Version:
A collection of useful frontend utility modules. powered by Eightshift
16 lines (14 loc) • 448 B
JavaScript
import React from 'react';
import { InspectorControls } from '@wordpress/block-editor';
import { FeaturedContentEditor } from './components/featured-content-editor';
import { FeaturedContentOptions } from './components/featured-content-options';
export const FeaturedContent = (props) => {
return (
<>
<InspectorControls>
<FeaturedContentOptions {...props} />
</InspectorControls>
<FeaturedContentEditor {...props} />
</>
);
};