Skip to content

Commit

Permalink
Support role on AttributeShape when registering blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lipemat committed Nov 7, 2024
1 parent 7441cb7 commit cd320be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wordpress__blocks/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ declare module '@wordpress/blocks' {
*/
type AttributeShape = {
type: dataTypes | dataTypes[];
role?: 'content' | 'local';
source?: 'text' | 'html' | 'query' | 'attribute';
/**
* Default values won't be sent during render, so they must be either
Expand Down

0 comments on commit cd320be

Please sign in to comment.