Function: normalizeTextStyleWeb()
normalizeTextStyleWeb(
textStyle?):undefined|TextStyle
Defined in: utils/system.ts:81
Normalizes text styles for web compatibility by converting numeric values to pixel strings.
Parameters
textStyle?
StyleProp<TextStyle>
The text style to normalize
Returns
undefined | TextStyle
Normalized text style with web-compatible values
Example
const normalized = normalizeTextStyleWeb({
lineHeight: 20,
letterSpacing: 1
});
// Returns: { lineHeight: '20px', letterSpacing: '1px' }