UNPKG

react-native-full-responsive

Version:

Create a fully responsive React Native app for all supported platforms

13 lines 531 B
import React from 'react'; import type { DeviceType, MappedDeviceType } from '../types'; /** * A HOC for when you want to use full responsive methods in your class components without additional steps as props. */ declare const withMediaQuery: <T extends object>(Component: React.ComponentType<T>, thresholds?: Partial<MappedDeviceType>) => { (props: { type?: DeviceType; }): JSX.Element; displayName: string; }; export { withMediaQuery, withMediaQuery as withMQ }; //# sourceMappingURL=withMediaQuery.d.ts.map