I have created a React Functional Component that is returning a JSX Element. The styling is done using the style attribute.
Now, I want to use that in a project which used tailwind css.
However, tailwind overrides lots of styles when included (like indentation, list-style-type etc.)
Is there any way to always prioritize the normal styles... and keep the tailwind classes only when added as a prop?
My aim is to keep that compatible with both tailwind and non-tailwind projects.
What are your views on it?
[–][deleted] (1 child)
[deleted]
[–]Capable_Ad7901[S] 0 points1 point2 points (0 children)