"use client"; import React from "react"; import { QueryResult } from "../types"; import { Label } from "@/components/ui/label"; import { Alert, AlertDescription } from "@/components/ui/alert"; import { AlertCircle } from "lucide-react"; interface RiskAlertSectionProps { queryResult: QueryResult | null; } /** * 리스크 알림 위젯 설정 섹션 * - 알림 설정 * * TODO: 상세 설정 UI 추가 필요 */ export function RiskAlertSection({ queryResult }: RiskAlertSectionProps) { // 쿼리 결과가 없으면 안내 메시지 표시 if (!queryResult || !queryResult.columns || queryResult.columns.length === 0) { return (