pouncejs
Version:
A collection of UI components from Panther labs
19 lines (18 loc) • 717 B
TypeScript
import React from 'react';
import { Theme } from '../../theme';
export interface BadgeProps {
/** The color theme of the badge */
color: keyof Theme['colors'];
/** The badge has a solid background */
hasSolidBackground?: boolean;
/** Whether the badge should stretch to fill his parent or not */
stretch?: boolean;
/** Whether the Badge should be emphasized or not */
emphasized?: boolean;
/** The size of the Badge. Defaults to `medium`. */
size?: 'small' | 'medium';
/** @ignore */
children: React.ReactNode;
}
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLElement>>>;
export default _default;