@retailmenot/anchor
Version:
A React UI Library by RetailMeNot
22 lines (21 loc) • 829 B
TypeScript
/// <reference types="@emotion/core" />
import * as React from 'react';
import { SpaceProps } from '@xstyled/system';
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, SpaceProps {
backgroundColor?: string;
borderColor?: string;
borderColorHover?: string;
children?: any;
className?: string;
count?: number;
isParentHovered?: boolean;
overflowCount?: number;
offsetBottom?: number;
offsetLeft?: number;
showZero?: boolean;
size?: 'dot' | 'small' | 'large';
standalone?: boolean;
textColor?: string;
}
export declare const Badge: ({ backgroundColor, borderColor, borderColorHover, children, className, count, isParentHovered, overflowCount, offsetBottom, offsetLeft, size, showZero, standalone, textColor, ...props }: BadgeProps) => JSX.Element;
export {};