Skip to content

Commit

Permalink
Update in block-editor readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Aug 7, 2024
1 parent ddd757e commit 2f10aa4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ registerBlockType( 'my-plugin/my-block', {
const paddingControl = ( labelComponent, viewport ) => {
return (
<DimensionControl
__nextHasNoMarginBottom
label={ viewport.label }
onChange={ // handle update to padding value here }
value={ paddingSize }
Expand Down

0 comments on commit 2f10aa4

Please sign in to comment.