import { type PolymorphicComponentProps } from "../Polymorphic"; import type { ThemeBaseSize } from "../theme.types"; export type BadgeOwnProps = { /** theme color */ color?: "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error" | "neutral"; /** 尺寸大小 * @default "md" */ size?: ThemeBaseSize; /** style variant * @default "default" */ variant?: "default" | "ghost" | "outline" | "dash" | "soft"; icon?: React.ReactNode; }; export type BadgeProps = PolymorphicComponentProps; declare const defaultElement = "span"; /** 多态组件, ref会转发给实际的组件 */ export declare function Badge(props: BadgeProps): import("react").JSX.Element; export {};