Skip to content

Commit

Permalink
Adds temp testing example usage of component to Group Block
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Jul 29, 2019
1 parent 7cb2a7e commit 6f9f3bf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/block-library/src/group/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ import {
InnerBlocks,
PanelColorSettings,
withColors,
DimensionControl,
} from '@wordpress/block-editor';

import {
PanelBody,
} from '@wordpress/components';

function GroupEdit( {
className,
setBackgroundColor,
Expand Down Expand Up @@ -43,6 +48,13 @@ function GroupEdit( {
},
] }
/>
<PanelBody title={ __( 'Spacing' ) }>
<DimensionControl
label={ 'Padding' }
icon={ 'desktop' }
iconLabel={ 'All Devices' }
/>
</PanelBody>
</InspectorControls>
<div className={ classes } style={ styles }>
<div className="wp-block-group__inner-container">
Expand Down

0 comments on commit 6f9f3bf

Please sign in to comment.