This commit is contained in:
Eric Bailey
2024-09-19 14:35:23 -05:00
parent 463765bc87
commit 3a1978a898
@@ -265,8 +265,9 @@ export const TextInput = React.forwardRef(function TextInputImpl(
* *
* `lineHeight` should always be defined here, this is defensive. * `lineHeight` should always be defined here, this is defensive.
*/ */
// @ts-ignore style.lineHeight = style.lineHeight
style.lineHeight = style.lineHeight ? (style.lineHeight += 'px') : undefined ? ((style.lineHeight + 'px') as unknown as number)
: undefined
return style return style
}, [t, fonts]) }, [t, fonts])