import * as React from 'react'; import type { BaseHtmlProps } from '../../wui-core/src/iCore'; export type BadgeColors = 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'default'; export type BadgeStatus = 'processing' | 'error' | 'success' | 'warning' | 'default' | 'dark'; export type BadgePlacement = 'bottom' | 'top'; export type BadgeSize = 'sm' | 'default' | 'small'; export type BadgeColorHack = BadgeColors | BadgeStatus; type RibbonPlacement = 'start' | 'end'; export interface BadgeProps extends Omit, 'size'> { colors?: BadgeColors; dataBadge?: React.ReactNode; dataBadgePlacement?: BadgePlacement; dot?: boolean; color?: string; count?: number | HTMLElement | React.ReactNode; overflowCount?: number; showZero?: boolean; status?: BadgeStatus; size?: BadgeSize; text?: React.ReactChild; title?: string; offset?: [number, number]; } export interface RibbonProps { className?: string; style?: React.CSSProperties; text?: React.ReactNode; color?: BadgeColors | string; children?: React.ReactNode; placement?: RibbonPlacement; } export {};