Exports
storybook-addon-badges
exports the following values:
Export | Type | Purpose |
---|---|---|
BadgeConfig | Type | Type definition of a single badge configuration. |
BadgesConfig | Type | Type definition of the badge mapping object. |
TooltipConfig | Type | Type definition for tooltip value. |
TooltipMessageProps | Type | Type definition for tooltip props object. |
defaultBadgeConfig | Config | Configuration for the default badge. |
defaultBadgesConfig | Config | Configuration map of all pre-defined badges. |
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. |
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. |