@holoscript/preview-component
v0.1.0
Published
Standalone React component for embedding interactive HoloScript 3D scene previews in GitHub PRs, docs, and playgrounds
Maintainers
Readme
@holoscript/preview-component
Standalone React component for embedding interactive HoloScript 3D scene previews in GitHub PRs, docs, and playgrounds.
Usage
pnpm installimport { HoloPreview } from '@holoscript/preview-component';
import '@holoscript/preview-component/styles.css';Requires react and react-dom (v18+). three is an optional peer dependency.
Development
pnpm dev # Build with watch mode (tsup)
pnpm test # Run tests (vitest)
pnpm test:coverage # Run tests with coverage
pnpm typecheck # Type-check without emitting