import clsx from 'clsx'; import { APP_COLORS, colorFgGrammeme } from '@/styling/color'; import { labelGrammeme } from '../labels'; import { GramData } from '../models/language'; interface BadgeGrammemeProps { /** Grammeme to display. */ grammeme: GramData; } /** * Displays a badge with a grammeme tag. */ function BadgeGrammeme({ grammeme }: BadgeGrammemeProps) { return (
{labelGrammeme(grammeme)}
); } export default BadgeGrammeme;