Jump to content

Template:StorybookComponent

From Swarthmore Knowledge Base
Revision as of 21:10, 13 May 2026 by Mkappel1 (talk | contribs) (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": {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{StorybookComponent|components-two-column-layout--two-column-layout}}

Embeds a Storybook component given its ID

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
idid

Storybook component ID

Stringrequired
widthwidth

The width in pixels of the storybook component

Numberoptional
heightheight

The height in pixels of the storybook component

Numberoptional