diff --git a/src/common/components/GoodBadge.tsx b/src/common/components/GoodBadge.tsx new file mode 100644 index 000000000..ee34c2eb5 --- /dev/null +++ b/src/common/components/GoodBadge.tsx @@ -0,0 +1,38 @@ +import * as React from 'react'; + +import { Chip, ChipProps } from '@mui/joy'; + + +/** + * Simple badge/label component for inline status indicators like "New", "Beta", etc. + */ +export function GoodBadge(props: { + badge: React.ReactNode; + color?: ChipProps['color']; + variant?: ChipProps['variant']; + sx?: ChipProps['sx']; +}) { + return ( + + {props.badge} + + ); +} \ No newline at end of file