devonthesofa_obsidian-note-.../components/SettingsUI.tsx/TemplateStatusChip.tsx
2025-07-15 17:30:17 +02:00

18 lines
429 B
TypeScript

import { NoteStatus } from "@/types/noteStatus";
import React from "react";
interface StatusChipProps {
status: NoteStatus;
}
export const TemplateStatusChip: React.FC<StatusChipProps> = ({ status }) => (
<div className="template-status-chip">
<span
className="template-status-color-dot"
style={{ "--dot-color": status.color } as React.CSSProperties}
/>
<span>
{status.icon} {status.name}
</span>
</div>
);