GoldTreeDevGTD UI

문서 제목, 아이콘 이름, 앱 이름으로 검색할 수 있어요.

전체 문서 보기 이동 · Enter 열기 · Esc 닫기

DebugPanel

New

개발 정보를 접고 펼칠 수 있는 고정 디버그 패널이에요.

사용법

개발할 때 필요한 상태 값을 접을 수 있는 패널로 표시해요.

디버그 대상 영역

인터페이스

DebugPanelProps

속성타입기본값설명
enabledboolean패널 표시 여부
titlestringDebug패널 제목
position"top-left" | "top-right" | "bottom-left" | "bottom-right"bottom-right고정 위치
defaultOpenbooleantrue초기 펼침 상태
itemsreadonly DebugPanelItem[][]표시할 디버그 값
childrenReactNode추가 패널 콘텐츠
classNamestring루트 클래스
styleCSSProperties인라인 스타일·CSS 변수

DebugPanel 컴포넌트 Props 표

가져오기

모션 CSS는 @goldtreedev/ui/motion.css를 함께 import해요.

@import "@goldtreedev/ui/motion.css";

import { DebugPanel } from "@goldtreedev/ui";
DebugPanel · 모션 UI | GoldTreeDev Docs