Documentation
EioTelePadScreen
Ender IO 传送板(218×230,贴图测量坐标):整幅背景(含右侧光柱区)、传送操作按钮 ×2 与玩家背包。
import { EioTelePadScreen } from "./index";
/**
* TelePad 预览。
*/
export function EioTelePadScreenDemo() {
return (
<EioTelePadScreen
onPrimaryAction={() => {}}
onSecondaryAction={() => {}}
/>
);
}
Install
$pnpm add @tennantite/enderionpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/enderio/src/eio-tele-pad-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.