Skip to content

Commit

Permalink
Query No Results: Add block example (#65555)
Browse files Browse the repository at this point in the history
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
3 people authored Sep 23, 2024
1 parent 4209ffd commit 5284920
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/block-library/src/query-no-results/block.json
Original file line number Diff line number Diff line change
@@ -8,6 +8,16 @@
"parent": [ "core/query" ],
"textdomain": "default",
"usesContext": [ "queryId", "query" ],
"example": {
"innerBlocks": [
{
"name": "core/paragraph",
"attributes": {
"content": "No posts were found."
}
}
]
},
"supports": {
"align": true,
"reusable": false,

0 comments on commit 5284920

Please sign in to comment.