PluginProbe ʕ •ᴥ•ʔ
AlphaListing / 4.4.0
AlphaListing v4.4.0
trunk 4.3.4 4.3.5 4.3.6 4.3.7 4.4.0
alphalisting / scripts / components / AZInspectorControls.js
alphalisting / scripts / components Last commit date
utils 1 month ago AZInspectorControls.js 1 month ago DisplayOptions.js 1 month ago Extensions.js 1 month ago ItemSelection.js 1 month ago PostParent.js 1 month ago
AZInspectorControls.js
14 lines
1 import { createSlotFill, PanelBody } from '@wordpress/components';
2
3 export const { Fill, Slot } = createSlotFill( 'AlphaListingInspectorControls' );
4
5 const AZInspectorControls = ( { children, title } ) => (
6 <Fill>
7 <PanelBody title={ title }>{ children }</PanelBody>
8 </Fill>
9 );
10
11 AZInspectorControls.Slot = Slot;
12
13 export default AZInspectorControls;
14