Skip to content

Commit

Permalink
Add version to deprecated() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
noisysocks committed Jan 19, 2023
1 parent 478a51a commit 6e85766
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-editor/src/components/block-preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function BlockPreview( {
minHeight = __experimentalMinHeight;
deprecated( 'The __experimentalMinHeight prop', {
since: '6.2',
version: '6.4',
alternative: 'minHeight',
} );
}
Expand All @@ -42,6 +43,7 @@ export function BlockPreview( {
];
deprecated( 'The __experimentalPadding prop of BlockPreview', {
since: '6.2',
version: '6.4',
alternative: 'additionalStyles',
} );
}
Expand Down

0 comments on commit 6e85766

Please sign in to comment.