Writing conditional tailwind classNames.
You want to add a style to a div when a particular state in your app is true? You can achieve this using this library. In your Next.js or React app create a folder in root directory and name it as "lib". Inside lib folder create a file named "utils.t...
Jan 25, 20246 min read58