@atlaskit/badge
Version:
A badge is a visual indicator for numeric values such as tallies and scores.
24 lines (23 loc) • 900 B
TypeScript
import type { BadgeNewProps } from './types';
/**
* __BadgeNew__
*
* New visual refresh implementation of Badge component for the labelling system.
* This component is used when the 'platform-dst-lozenge-tag-badge-visual-uplifts' feature flag is enabled.
*
* Uses new appearance naming convention:
* - success (green)
* - danger (red)
* - neutral (gray)
* - information (blue)
* - inverse (inverted colors)
* - warning (orange/yellow)
* - discovery (purple)
* - informationBold (bold blue, color.background.information.subtle)
* - successBold (bold green, color.background.success.subtle)
* - dangerBold (bold red, color.background.danger.subtle)
* - warningBold (bold warning, color.background.warning.bold)
* - discoveryBold (bold purple, color.background.discovery.subtle)
*/
declare const BadgeNew: import('react').NamedExoticComponent<BadgeNewProps>;
export default BadgeNew;