Documentation
GamemodeSwitcher
125×75 游戏模式切换器与选中框。
import { GamemodeSwitcher } from "./index";
export function GamemodeSwitcherDemo() {
return <GamemodeSwitcher value={1} />;
}
Install
CLI copy
$npx shadcn add @tennantite/gamemode-switchernpm install
$pnpm add @tennantite/uinpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ui/src/screens/containers/gamemode-switcher/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.