spacesvr-websessions
Version:
A standardized reality for future of the 3D Web
16 lines (15 loc) • 406 B
TypeScript
/// <reference types="react" />
export declare type Device = "desktop" | "mobile" | "xr";
export declare type DeviceState = {
xr: boolean;
mobile: boolean;
desktop: boolean;
};
export declare const useDevice: () => {
device: {
mobile: boolean;
desktop: boolean;
xr: boolean;
};
setDevice: import("react").Dispatch<import("react").SetStateAction<Device>>;
};