You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
509 B
TypeScript
23 lines
509 B
TypeScript
// frontend/components/inbox/ReasonLine.tsx
|
|
import { Icon } from "@/components/Icon";
|
|
|
|
export default function ReasonLine({
|
|
reason,
|
|
fallbackUsed,
|
|
}: {
|
|
reason: string;
|
|
fallbackUsed?: boolean;
|
|
}) {
|
|
return (
|
|
<div className="sb-reason">
|
|
{fallbackUsed && (
|
|
<span className="sb-fallback" title="LLM에 연결할 수 없어 규칙 기반으로 분류했어요">
|
|
<Icon name="zap" />
|
|
규칙 기반(오프라인)
|
|
</span>
|
|
)}
|
|
{reason}
|
|
</div>
|
|
);
|
|
}
|