rsuite
Version:
A suite of react components
13 lines (12 loc) • 435 B
TypeScript
import React from 'react';
import { WithAsProps, RsRefForwardingComponent, TypeAttributes } from '../@types/common';
export interface BadgeProps extends WithAsProps {
/** Main content */
content?: React.ReactNode;
/** Max count */
maxCount?: number;
/** A badge can have different colors */
color?: TypeAttributes.Color;
}
declare const Badge: RsRefForwardingComponent<'div', BadgeProps>;
export default Badge;