react-native-full-responsive
Version:
Create a fully responsive React Native app for all supported platforms
11 lines • 516 B
TypeScript
import React from 'react';
import type { ResponsiveMethodsProps } from '../types';
/**
* A HOC for when you want to use full responsive methods in your class components without additional steps as props.
*/
declare const withResponsiveMethods: <T extends object>(Component: React.ComponentType<T>) => {
(props: Omit<T, keyof ResponsiveMethodsProps>): JSX.Element;
displayName: string;
};
export { withResponsiveMethods, withResponsiveMethods as withRM };
//# sourceMappingURL=withResponsiveMethods.d.ts.map