- pop-text 컴포넌트 구현 (텍스트/시간/이미지/제목 타입) - PopComponentRegistry에 preview 속성 추가 - ComponentEditorPanel에서 configPanel 동적 렌더링 - PopRenderer에서 preview 컴포넌트 렌더링 지원 - ComponentPalette에 텍스트 컴포넌트 추가 Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
562 B
TypeScript
21 lines
562 B
TypeScript
"use client";
|
|
|
|
/**
|
|
* POP 컴포넌트 자동 등록 진입점
|
|
*
|
|
* [역할]
|
|
* - 각 컴포넌트 파일을 import하면 해당 파일 끝의 registerComponent()가 실행되어 자동 등록됨
|
|
* - 예: import "./pop-text" → pop-text.tsx 실행 → PopComponentRegistry.registerComponent() 호출
|
|
*/
|
|
|
|
// 공통 타입 re-export (외부에서 필요 시 사용 가능)
|
|
export * from "./types";
|
|
|
|
// POP 컴포넌트 등록
|
|
import "./pop-text";
|
|
|
|
// 향후 추가될 컴포넌트들:
|
|
// import "./pop-field";
|
|
// import "./pop-button";
|
|
// import "./pop-list";
|