slanted-gamedev-toolz
Version:
A slanted mix of tools for your brilliant ideas in game design.
15 lines (14 loc) • 429 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Dpad } from "./Dpad";
import { BtnPad } from "./BtnPad";
export const MobileGamePadOverLay = ({}) => {
const style = {
border: "4px solid green",
position: "fixed",
top: 0,
bottom: 0,
left: 0,
right: 0,
};
return (_jsxs("div", { style: style, children: [_jsx(Dpad, {}), _jsx(BtnPad, {})] }));
};