@wordpress/editor
Version:
Enhanced block editor for WordPress posts.
20 lines (16 loc) • 372 B
JavaScript
/**
* External dependencies
*/
import clsx from 'clsx';
/**
* WordPress dependencies
*/
import { __experimentalVStack as VStack } from '@wordpress/components';
function PostPanelSection( { className, children } ) {
return (
<VStack className={ clsx( 'editor-post-panel__section', className ) }>
{ children }
</VStack>
);
}
export default PostPanelSection;