Skip to main content

Exports

storybook-addon-badges exports the following values:

ExportTypePurpose
AutobadgesFnParametersTypeType definition of the parameters accepted by the autobadges function.
BadgeConfigTypeType definition of a single badge configuration.
BadgeLocationTypeType alias for available badge locations.
BadgeMapTypeType definition of the badge mapping object.
BadgesConfigTypeThe addon configuration object.
TooltipConfigTypeType definition for tooltip value.
TooltipMessagePropsTypeType definition for tooltip props object.
ADDON_IDConstantThe ID of the addon used internally.
ADDON_TITLEConstantThe name of the addon.
BADGEConstantMapping object of pre-defined badge names.
BADGE_LOCATIONConstantMapping object of badge locations names.
PARAM_BADGES_KEYConstantThe param key for defining badges that apply to stories.
PARAM_CONFIG_KEYConstantThe param key for defining custom badges.
TOOL_IDConstantInternal tool name.
TOOL_EXTRA_IDConstantInternal toolextra name.
storybookTagsConstantArray of built-in Storybook tags to extend excludeTags.