Overview
Display helpful hints and shortcuts.Import
Usage
Live Preview
Run Locally
npm run tsx:core-gallery
Props
- content: string — Markdown/text content.
- title?: string — Window label.
- width?/height?: dims — Defaults to 80% viewport.
- onClose?: () => void — Callback on close.
- BaseProps: overlay fills screen; inner box styled.
Methods
- setContent(text), setTitle(text), show(), hide(), close().
Keyboard
- Esc, q: close overlay (when closable).
Installation
Import
Quick Start
Production Examples
Best Practices
- Rendi il contenuto scrollabile e sintetico; evita muri di testo.
