goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
28 lines • 877 B
TypeScript
import { CSSProperties } from 'react';
export interface BadgeTheme {
container: CSSProperties;
badge: CSSProperties;
}
export interface BadgeStyles {
theme?: 'light' | 'dark' | 'sacred';
backgroundColor?: string;
color?: string;
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
offset?: number;
borderRadius?: string;
width?: string;
height?: string;
fontSize?: string;
fontWeight?: string;
boxShadow?: string;
backdropFilter?: string;
border?: string;
textShadow?: string;
}
export declare const badgeThemes: Record<'light' | 'dark' | 'sacred', BadgeTheme>;
export declare const getBadgeTheme: (styles?: BadgeStyles) => BadgeTheme;
export declare const getBadgeStyles: (styles?: BadgeStyles) => {
container: CSSProperties;
badge: CSSProperties;
};
//# sourceMappingURL=badge.d.ts.map