Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, does this library include a sanitizer or validator #149

Closed
joseDaKing opened this issue Oct 3, 2020 · 4 comments
Closed

Hi, does this library include a sanitizer or validator #149

joseDaKing opened this issue Oct 3, 2020 · 4 comments

Comments

@joseDaKing
Copy link

joseDaKing commented Oct 3, 2020

Hi, wonder if this library includes sanitizer for removing css prop or values that cannot be used with react native? The reason I need sanitizer library is because I am trying to port tailwindcss to RN. There are already a tailwindcss library for RN but the library do not have many features. The way I want to port the library is by compiling the generated tailwindcss file to js file that consists of RN style sheets. When I before I compile the CSS file I need way to sanitize it.

@jacobp100
Copy link
Contributor

It doesn’t. You’ll need to do that processing before!

@joseDaKing
Copy link
Author

@jacobp100 alright then, thanks for the answer, by the way do you know if there are library that already does that ?

@jacobp100
Copy link
Contributor

I don’t think there’s a library that would to that. Different react native components accept different style props, so I’m not really sure how it would work to be honest.

@jacobp100
Copy link
Contributor

Going to close this issue but you’re welcome to ask more questions if you need any pointers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants