"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 MapConfigSectionProps { queryResult: QueryResult | null; } /** * 지도 위젯 설정 섹션 * - 위도/경도 매핑 * * TODO: 상세 설정 UI 추가 필요 */ export function MapConfigSection({ queryResult }: MapConfigSectionProps) { // 쿼리 결과가 없으면 안내 메시지 표시 if (!queryResult || !queryResult.columns || queryResult.columns.length === 0) { return (
먼저 데이터 소스를 설정하고 쿼리를 테스트해주세요.
); } return (
지도 상세 설정 UI는 추후 추가 예정입니다.
); }