"use client"; import React from "react"; import { Label } from "@/components/ui/label"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select"; import { Input } from "@/components/ui/input"; import { Checkbox } from "@/components/ui/checkbox"; import { Textarea } from "@/components/ui/textarea"; interface SectionCardConfigPanelProps { config: any; onChange: (config: any) => void; } export function SectionCardConfigPanel({ config, onChange, }: SectionCardConfigPanelProps) { const handleChange = (key: string, value: any) => { const newConfig = { ...config, [key]: value, }; onChange(newConfig); // ๐ฏ ์ค์๊ฐ ์ ๋ฐ์ดํธ๋ฅผ ์ํ ์ด๋ฒคํธ ๋ฐ์ if (typeof window !== "undefined") { window.dispatchEvent(new CustomEvent("componentConfigChanged", { detail: { config: newConfig } })); } }; return (
์ ๋ชฉ๊ณผ ํ ๋๋ฆฌ๊ฐ ์๋ ๋ช ํํ ๊ทธ๋ฃนํ ์ปจํ ์ด๋