Skip to content

Commit

Permalink
Navigation Submenu Block: Add example preview
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshupathak95 committed Jan 27, 2025
1 parent 868135f commit e7cd6ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/block-library/src/navigation-submenu/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@
"type": "boolean"
}
},
"example": {
"attributes": {
"label": "About",
"type": "page",
"title": "About Us"
}
},
"usesContext": [
"textColor",
"customTextColor",
Expand Down

0 comments on commit e7cd6ae

Please sign in to comment.