Template:StorybookComponent: Difference between revisions
Created page with "<includeonly>{{#widget:StorybookComponent|id={{{id}}}|width={{{width|}}}|height={{{height|}}} }}</includeonly> <noinclude>== Usage == <nowiki>{{StorybookComponent|components-two-column-layout--two-column-layout}}</nowiki> <templatedata> { "params": { "id": { "description": "Storybook component ID", "type": "string", "required": true }, "width": { "description": "The width in pixels of the storybook component", "type": "number" }, "height": {..." |
No edit summary |
||
| Line 14: | Line 14: | ||
"width": { | "width": { | ||
"description": "The width in pixels of the storybook component", | "description": "The width in pixels of the storybook component", | ||
"type": " | "type": "string" | ||
}, | }, | ||
"height": { | "height": { | ||
"description": "The height in pixels of the storybook component", | "description": "The height in pixels of the storybook component", | ||
"type": " | "type": "string" | ||
} | } | ||
}, | }, | ||
Revision as of 21:20, 13 May 2026
Usage
{{StorybookComponent|components-two-column-layout--two-column-layout}}
Embeds a Storybook component given its ID
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id | Storybook component ID | String | required |
| width | width | The width in pixels of the storybook component | String | optional |
| height | height | The height in pixels of the storybook component | String | optional |