Passing icons as props in a consistent way using React
Let's say that you have a card component that looks like this:
You could use this card on something like a dashboard and give it a unique header and icon to allow the user to differentiate what is being displayed.
A common way to design this compon...
ozzie.sh4 min read
Lucas Rinaldi
Good improvement of the API.
Just a warning about calling components as function. kentcdodds.com/blog/dont-call-a-react-function-co…