Documentation
EioDialingDeviceScreen
Ender IO 拨号装置(176×230,贴图测量坐标):整幅背景、频率操作按钮 ×2 与玩家背包。
import { EioDialingDeviceScreen } from "./index";
/**
* DialingDevice 预览。
*/
export function EioDialingDeviceScreenDemo() {
return (
<EioDialingDeviceScreen
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-dialing-device-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.