Skip to content

Tag: styled-components

use tailwind classes into styled-components

Can I use tailwind classes ( like colors ) into the styled-components ? I want to use some classes instead of CSS styles to style my components this is the way add class in styled-components: so unlike styles, attrs className is only one single string, and I want to add classes for size, color, display and et…