@hydra-tv/hydra-gfx-runtime
v0.2.0
Published
Shared template runtime for HYDRA // GFX (HtmlCanvas, layout primitives, template types).
Readme
@hydra-tv/hydra-gfx-runtime
Shared template runtime for HYDRA // GFX: HtmlCanvas, layout primitives, colors, and template types used by both the host app and external .hgfx.js packages.
Install
bun add @hydra-tv/hydra-gfx-runtime react zodUsage
import { HtmlCanvas, GRAPHIC_WIDTH, GRAPHIC_HEIGHT } from '@hydra-tv/hydra-gfx-runtime'
import type { TemplateRenderProps } from '@hydra-tv/hydra-gfx-runtime/types'Author packages with @hydra-tv/hydra-gfx-sdk. Full guide: template packages.
