Documentation
CesuScreen
IC2 CESU 储电箱界面:储电箱同版式(guielectricblock.png),默认输出 32 EU/t,容量由 energy.max 注入。
CESU 储电箱
能量: 210000/300000输出: 32 EU/t装备
import { CesuScreen } from "./index";
/**
* CesuScreen 预览用例:300k EU 容量的 CESU
*/
export function CesuScreenDemo() {
return (
<CesuScreen
charge={{ icon: "lapis-lazuli", tooltip: "RE 电池" }}
energy={{ max: 300000, value: 210000 }}
title="CESU 储电箱"
/>
);
}
Install
$pnpm add @tennantite/ic2npm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ic2/src/cesu-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.