Documentation
Ic2UpgradeStrip
IC2 upgrade strip: four 18×18 slots stacked vertically.
import { Ic2UpgradeStrip } from "./index";
export function Ic2UpgradeStripDemo() {
return (
<div className="relative size-40">
<Ic2UpgradeStrip upgrades={[{ icon: "diamond" }, { icon: "coal" }]} />
</div>
);
}
Install
$pnpm add @tennantite/ic2npm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ic2/src/ic2-upgrade-strip/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.