Fork me on GitHub
#react
<
2022-05-29
>
geraldodev13:05:58

This is not a reusable component https://github.com/ecklf/tailwindcss-radix/blob/main/demo/components/Accordion.tsx, this one is reusable https://github.com/radix-ui/design-system/blob/master/components/Accordion.tsx Can you tailwind users share what is the strategy that you use for making components ? From the point of design the 1st one is simple, all styles are embedded. Do you think that we must treat every bit a screen individually, and not to abstract when using tailwind, for the sake of "every bit of style present on one place" ?