react-native-full-responsive
Version:
Create a fully responsive React Native app for all supported platforms
53 lines • 2.26 kB
TypeScript
/// <reference types="jest" />
export declare const getDimensions: jest.Mock<{
screenWidth: number;
screenHeight: number;
}, []>;
export declare const withMediaQuery: jest.Mock<any, [Component: any, _thresholds?: any]>;
export declare const withMQ: jest.Mock<any, [Component: any, _thresholds?: any]>;
export declare const withResponsiveMethods: jest.Mock<any, [Component: any]>;
export declare const withRM: jest.Mock<any, [Component: any]>;
export declare const useDevice: jest.Mock<{
type: string;
bases: {};
}, []>;
export declare const useMediaQuery: jest.Mock<string, []>;
export declare const useMQ: jest.Mock<string, []>;
export declare const useResponsiveDim: jest.Mock<{
width: number;
height: number;
}, []>;
export declare const useRD: jest.Mock<{
width: number;
height: number;
}, []>;
export declare const useResponsiveScale: jest.Mock<number, []>;
export declare const useRS: jest.Mock<number, []>;
export declare const useResponsiveWidth: jest.Mock<number, []>;
export declare const useRW: jest.Mock<number, []>;
export declare const useResponsiveHeight: jest.Mock<number, []>;
export declare const useRH: jest.Mock<number, []>;
export declare const useResponsiveMethods: jest.Mock<{
rs: jest.Mock<any, [n: any]>;
rw: jest.Mock<any, [n: any]>;
rh: jest.Mock<any, [n: any]>;
}, []>;
export declare const useRM: jest.Mock<{
rs: jest.Mock<any, [n: any]>;
rw: jest.Mock<any, [n: any]>;
rh: jest.Mock<any, [n: any]>;
}, []>;
export declare const FRContext: {
Provider: jest.Mock<any, any>;
Consumer: jest.Mock<any, any>;
};
export declare const FRProvider: jest.Mock<any, [any]>;
export declare const responsiveScale: jest.Mock<any, [size: any]>;
export declare const rs: jest.Mock<any, [size: any]>;
export declare const responsiveWidth: jest.Mock<any, [widthPercentage: any]>;
export declare const rw: jest.Mock<any, [widthPercentage: any]>;
export declare const responsiveHeight: jest.Mock<any, [heightPercentage: any]>;
export declare const rh: jest.Mock<any, [heightPercentage: any]>;
export declare const createRStyle: jest.Mock<any, [style: any, _styleConfig?: any]>;
export declare const useRStyle: jest.Mock<any, [styles: any, _deps?: any]>;
//# sourceMappingURL=index.d.ts.map