reablocks
Version:
Component library for React
27 lines (26 loc) • 834 B
TypeScript
export interface BadgeTheme {
/** CSS class applied to the root badge wrapper element. */
base: string;
/** CSS class applied when the badge margins are disabled. */
disableMargins: string;
/** CSS class applied to the badge indicator element. */
badge: string;
/** CSS class applied for the default badge position. */
position: string;
/** Class names for each badge color variant. */
colors: {
default: string;
primary: string;
secondary: string;
error: string;
[]: string;
};
/** Class names for each badge position relative to its anchor. */
positions: {
'top-start': string;
'top-end': string;
'bottom-start': string;
'bottom-end': string;
};
}
export declare const badgeTheme: BadgeTheme;