Exports
storybook-addon-badges
exports the following values:
Export | Type | Purpose |
---|---|---|
AutobadgesFnParameters | Type | Type definition of the parameters accepted by the autobadges function. |
BadgeConfig | Type | Type definition of a single badge configuration. |
BadgeLocation | Type | Type alias for available badge locations. |
BadgeMap | Type | Type definition of the badge mapping object. |
BadgesConfig | Type | The addon configuration object. |
TooltipConfig | Type | Type definition for tooltip value. |
TooltipMessageProps | Type | Type definition for tooltip props object. |
ADDON_ID | Constant | The ID of the addon used internally. |
ADDON_TITLE | Constant | The name of the addon. |
BADGE | Constant | Mapping object of pre-defined badge names. |
BADGE_LOCATION | Constant | Mapping object of badge locations names. |
PARAM_BADGES_KEY | Constant | The param key for defining badges that apply to stories. |
PARAM_CONFIG_KEY | Constant | The param key for defining custom badges. |
TOOL_ID | Constant | Internal tool name. |
TOOL_EXTRA_ID | Constant | Internal toolextra name. |
storybookTags | Constant | Array of built-in Storybook tags to extend excludeTags . |