import React from 'react'; import { DefaultProps, MantineSize, MantineNumberSize, MantineGradient, MantineColor, Selectors, Variants } from '@asuikit/styles'; import useStyles, { BadgeStylesParams } from './Badge.styles'; export type BadgeStylesNames = Selectors; export type BadgeVariant = Variants<'light' | 'filled' | 'outline' | 'dot' | 'gradient'>; export interface BadgeProps extends DefaultProps { /** Key of theme.colors */ color?: MantineColor; /** Controls appearance */ variant?: BadgeVariant; /** Controls gradient, applied to gradient variant only */ gradient?: MantineGradient; /** Badge height and font size */ size?: MantineSize; /** Key of theme.radius or any valid CSS value to set border-radius, "xl" by default */ radius?: MantineNumberSize; /** Sets badge width to 100% of parent element, hides overflow text with text-overflow: ellipsis */ fullWidth?: boolean; /** Section rendered on the left side of label */ leftSection?: React.ReactNode; /** Section rendered on the right side of label */ rightSection?: React.ReactNode; /** Badge label */ children?: React.ReactNode; } export declare const _Badge: React.ForwardRefExoticComponent>; export declare const Badge: ((props: import("@asuikit/utils").PolymorphicComponentProps) => React.ReactElement>) & Omit, "component" | keyof BadgeProps> & { ref?: any; }) | (BadgeProps & { component: React.ElementType; })>, never> & Record; //# sourceMappingURL=Badge.d.ts.map