mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 13:09:01 +01: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>
|
|
} |