In React, we are familiar with the concepts of a className on components. It's the way React adds the class attribute to an element. It looks like this: <div className="bg-red-200"></div> However, what happens if we want to make our custom component...

Markdown supported · ⌘↵ to post
No responses yet.