jaredh159 / tailwind-react-native-classnames

simple, expressive API for tailwindcss + react-native
2.03k stars 82 forks source link

Gradiant background doesn't works #294

Closed hasunpark closed 5 months ago

hasunpark commented 5 months ago

Hi first of all, thanks for wonderful library. I have tried to apply bg-gradiant-to-r, but i think parser doesn't parse this function. Even i look at the code, couldn't find that part.

jaredh159 commented 5 months ago

we only support the subset of tailwindcss utilities that directly map to React Native non-web style props. Another way of saying that, is we don't support React-Native Web. So utilities like bg-gradient-{...} I believe have no counterpart in pure native RN, so the library doesn't support them.

hasunpark commented 5 months ago

Oh! I'm sorry for late reply. Thanks for kind explain. Now i understand! :) have a good day