Skip to content
Tennantite
中文
Documentation

ModSprite

Mod sprite renderer: scaled crops, nine-slice, tiling, animated strips and multiply tint.

Install

$pnpm add @tennantite/common

npm installs the compiled package; use the CLI copy above to adapt the source.

Source

packages/mods-core/src/shared/mod-sprite/index.tsx

The npm package keeps the source tree, so you can copy and adapt it directly.