"use client"; import React from "react"; import { Label } from "@/components/ui/label"; import { Input } from "@/components/ui/input"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { Switch } from "@/components/ui/switch"; import { Textarea } from "@/components/ui/textarea"; import { ComponentData } from "@/types/screen"; interface AlertConfigPanelProps { component: ComponentData; onUpdateProperty: (path: string, value: any) => void; } export const AlertConfigPanel: React.FC = ({ component, onUpdateProperty }) => { const config = component.componentConfig || {}; return (
onUpdateProperty("componentConfig.title", e.target.value)} placeholder="알림 제목을 입력하세요" />