Skip to content

Commit 8856bbe

Browse files
authored
Merge pull request #2973 from Shopify/7591/clarify-should-render-api
Add context for should-render api
2 parents 1940232 + d5185ef commit 8856bbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/ui-extensions/src/surfaces/admin/api/should-render/should-render.doc.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs';
22

33
const data: ReferenceEntityTemplateSchema = {
44
name: 'ShouldRender API',
5-
description: 'This API is available to all shouldRender extension types.',
5+
description:
6+
'This API controls the render state of an admin action extension. Learn more in the <a href="https://shopify.dev/docs/apps/build/admin/actions-blocks/hide-extensions?extension=react#hide-an-admin-action">admin extensions tutorial</a>.',
67
isVisualComponent: false,
78
type: 'API',
89
definitions: [

0 commit comments

Comments
 (0)