UNPKG

react-simple-game-engine

Version:

[WIP] not able to use in currently. <!-- Document cumming soon... -->

16 lines 651 B
import { ReactNode } from "react"; import { UseLongPressProps } from "../hooks/interact"; export declare type ControlProps = { top?: number; left?: number; right?: number; bottom?: number; children: ReactNode; xAxisOriginCenter?: boolean; yAxisOriginCenter?: boolean; orientation?: "vertical" | "horizontal"; alignment?: "flex-start" | "center" | "flex-end"; interact?: Partial<UseLongPressProps>; }; export declare function Control({ xAxisOriginCenter, yAxisOriginCenter, top, left, right, bottom, children, orientation, alignment, interact, }: ControlProps): JSX.Element; //# sourceMappingURL=control.d.ts.map