UNPKG

389 BTypeScriptView Raw
1import * as React from 'react';
2import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
3import { Color, Variant } from './types';
4export interface BadgeProps extends BsPrefixProps, React.HTMLAttributes<HTMLElement> {
5 bg?: Variant;
6 pill?: boolean;
7 text?: Color;
8}
9declare const Badge: BsPrefixRefForwardingComponent<'span', BadgeProps>;
10export default Badge;