UNPKG

373 BTypeScriptView Raw
1import * as React from 'react';
2import { CSSModule } from './utils';
3
4export interface BadgeProps extends React.HTMLAttributes<HTMLElement> {
5 [key: string]: any;
6 color?: string;
7 pill?: boolean;
8 tag?: React.ElementType;
9 innerRef?: React.Ref<HTMLElement>;
10 cssModule?: CSSModule;
11}
12
13declare class Badge extends React.Component<BadgeProps> {}
14export default Badge;