Documentation
DispenserScreen
176×166 发射器/投掷器界面,3×3 槽。
64
import { DispenserScreen } from "./index";
export function DispenserScreenDemo() {
return <DispenserScreen items={[{ count: 64, icon: "stone-block" }, { icon: "sword" }]} />;
}
Install
CLI copy
$npx shadcn add @tennantite/dispenser-screennpm install
$pnpm add @tennantite/uinpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ui/src/screens/containers/dispenser-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.