
Seen this as a tailwind coder? <button className={cn("px-4 py-2 rounded", { "bg-blue-500 text-white": isPrimary, "bg-gray-200 text-gray-800": !isPrimary, })} > Click me </button> Have you ever wondered why everyone is using the cn func...
Obsessed with crafting software.
Just a guy who loves to write code and watch anime.
Markdown supported · ⌘↵ to post
No responses yet.