@hhgtech/hhg-components
Version:
Hello Health Group common components
24 lines (23 loc) • 617 B
TypeScript
import React from 'react';
export declare const ScreenSizeContext: React.Context<{
width?: number;
height?: number;
isInit: boolean;
sizeGroups?: {
smallMobile: boolean;
mobile: boolean;
tablet: boolean;
pc: boolean;
xl: boolean;
};
}>;
export declare const getWindowSizeGroups: (manualWidth?: number) => {
smallMobile: boolean;
mobile: boolean;
tablet: boolean;
pc: boolean;
xl: boolean;
};
export declare const ScreenSizeContextProvider: ({ children, }: {
children: React.ReactNode;
}) => React.JSX.Element;