You are viewing documentation for a previous version of Storybook
Switch to latest versionWatch a video tutorial on the Storybook channel
The IconGallery
block enables you to easily document React icon components associated with your project, displayed in a neat grid.
IconGallery
is configured with the following props:
Type: React.ReactNode
IconGallery
expects only IconItem
children.
IconItem
is configured with the following props:
(Required)
Type: string
Sets the name of the icon.
Type: React.ReactNode
Provides the icon to be displayed.