Closed danieltott closed 5 months ago
yeah, thanks for the issue. the long hand works fine here as a workaround: text-base leading-6
but you're probably aware of that. i agree that the shorthand should be supported.
made a quick draft PR with a failing test here https://github.com/jaredh159/tailwind-react-native-classnames/pull/293
i'll try to work on an implementation shortly, unless you wanted to take a whack at it.
implemented in v4.3.0
TailwindCSS allows us to modify the line-height when using
text-*
line height utilities:This should apply the base font size, and the style from
leading-6
.However setting this via
tw
is failing withtext-base/6
base/6
unknown or invalid utility