Files
Trilium/apps/client/src/widgets/react/Badge.tsx

8 lines
203 B
TypeScript
Raw Normal View History

interface BadgeProps {
className?: string;
title: string;
}
export default function Badge({ title, className }: BadgeProps) {
return <span class={`badge ${className ?? ""}`}>{title}</span>
}