Skip to content

Commit

Permalink
fix: add width property to spacer deprecation schema for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshbhutkar committed Jan 28, 2025
1 parent b3c91c0 commit 373e811
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/block-library/src/spacer/deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ const v2 = {
height: {
type: 'string',
},
width: {
type: 'string',
},
},
isEligible( { height, width } ) {
return height === undefined && width === undefined;
Expand Down

0 comments on commit 373e811

Please sign in to comment.