mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
488 B
TypeScript
17 lines
488 B
TypeScript
import {
|
|
responsiveHeight,
|
|
responsiveWidth,
|
|
responsiveFontSize,
|
|
useResponsiveHeight,
|
|
useResponsiveWidth,
|
|
useResponsiveFontSize,
|
|
} from 'react-native-responsive-dimensions';
|
|
|
|
const requiredHeight = useResponsiveHeight(25);
|
|
const requiredWidth = useResponsiveWidth(100);
|
|
const requiredFontSize = useResponsiveFontSize(3);
|
|
|
|
const unrequiredHeight = responsiveHeight(25);
|
|
const unrequiredWidth = responsiveWidth(25);
|
|
const unrequiredFontSize = responsiveFontSize(25);
|