"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"; interface SectionPaperConfigPanelProps { config: any; onChange: (config: any) => void; } export function SectionPaperConfigPanel({ config, onChange, }: SectionPaperConfigPanelProps) { 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 (
λ°°κ²½μ κΈ°λ°μ λ―Έλλ©ν κ·Έλ£Ήν 컨ν μ΄λ