import React from 'react'; import styles from './Badge.module.css'; export type BadgeVariant = 'success' | 'error' | 'warning' | 'info' | 'neutral' | 'running'; export interface BadgeProps { variant?: BadgeVariant; dot?: boolean; children: React.ReactNode; } export function Badge({ variant = 'neutral', dot = false, children }: BadgeProps) { return ( {dot && ); }