react-native-responsive-screens
Version:
Allows the creation of screens with icons and responsive texts
15 lines (13 loc) • 531 B
TypeScript
declare module "react-native-responsive-screens" {
import { Component } from "react";
export function widthToDP(widthPercent: string | number): number;
export function heightToDP(heightPercent: string | number): number;
export function widthToFonts(widthPercent: string | number): number;
export function heightToFonts(
heightPercent: string | number
): number;
export function useOrientationChange(
screenClassComponent: Component<any, any>
): void;
export function removeOrientationListener(): void;
}