mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
8 lines
203 B
TypeScript
8 lines
203 B
TypeScript
interface BadgeProps {
|
|
className?: string;
|
|
title: string;
|
|
}
|
|
|
|
export default function Badge({ title, className }: BadgeProps) {
|
|
return <span class={`badge ${className ?? ""}`}>{title}</span>
|
|
} |