@vtex/styleguide
Version:
> VTEX Styleguide React components ([Docs](https://vtex.github.io/styleguide))
12 lines (11 loc) • 314 B
TypeScript
export declare enum Device {
phone = "phone",
tablet = "tablet",
desktop = "desktop"
}
declare const withDevice: (Component: any) => ({ device: customDevice, isMobile: customIsMobile, ...props }: {
[x: string]: any;
device: any;
isMobile: any;
}) => JSX.Element;
export default withDevice;