@platformbuilders/react-native-ui
Version:
Platform Builders Shared Components Library
6 lines • 425 B
JavaScript
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { getTheme } from '@platformbuilders/helpers';
import { scaledFontSize } from './fontScale';
export const getFontSize = (props) => scaledFontSize(getTheme(`${props.variant}.fontSize`)(props));
export const getLineHeight = (props) => scaledFontSize(getTheme(`${props.variant}.lineHeight`)(props));
//# sourceMappingURL=getByTypographyVariant.js.map