import * as React from 'react'; import classnames from 'classnames'; import styles from './Badge.scss'; import IReactComponentProps from '../../../common/structures/IReactComponentProps'; interface IBadgeProps extends IReactComponentProps { className?: string; label?: string; style?: object; tag?: string; variant?: 'gray' | 'yellow'; wiggle?: boolean; breathe?: boolean; } const Badge: React.FC = ({ className, label, style, tag = 'div', variant = 'gray', wiggle = false, breathe = false, ...otherProps }: IBadgeProps) => { const Tag: any = tag ?? 'div'; return ( {label} ); }; export default Badge;