mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
923 B
923 B
title |
---|
IconGallery |
Storybook's IconGallery
Doc Block enables you easily document all icons associated with your project.
Working with MDX
Similar to other documentation-oriented Doc Blocks such as TypeSet
, or ColorPalette
, the IconGallery
is also typically used with MDX. It allows you to provide additional customization via options. Below is a condensed example and table featuring all the available options.
<CodeSnippets paths={[ 'common/icongallery-doc-block.mdx.mdx', ]} />
Option | Description |
---|---|
name |
Sets the name of the icon. <IconItem name="add"/> |