Jump to content

Template:StorybookComponent: Difference between revisions

From Swarthmore Knowledge Base
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 25: Line 25:
"width",
"width",
"height"
"height"
    ],
],
"description": "Embeds a Storybook component given its ID"
"description": "Embeds a Storybook component given its ID"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 15:46, 14 May 2026

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

Stringoptional
heightheight

The height in pixels of the storybook component

Stringoptional