mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
678 B
TypeScript
14 lines
678 B
TypeScript
// Type definitions for react-native-responsive-dimensions 3.0
|
|
// Project: https://github.com/DaniAkash/react-native-responsive-dimensions#readme
|
|
// Definitions by: Steven Conaway <https://github.com/SConaway>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/*~ If this module has methods, declare them as functions like so.
|
|
*/
|
|
export function responsiveHeight(h: number): number;
|
|
export function responsiveWidth(w: number): number;
|
|
export function responsiveFontSize(f: number): number;
|
|
export function useResponsiveHeight(h: number): number;
|
|
export function useResponsiveWidth(w: number): number;
|
|
export function useResponsiveFontSize(f: number): number;
|