Description
Right now, we are pasting raw <svg> tags directly into our React components, cluttering the code and making icons hard to reuse.
We need to create a dedicated folder for icons and export them as clean React components.
This allows us to change an icon once and have it update everywhere across the entire app.
It massively improves developer experience and code readability.
Requirements
Description
Right now, we are pasting raw
<svg>tags directly into our React components, cluttering the code and making icons hard to reuse.We need to create a dedicated folder for icons and export them as clean React components.
This allows us to change an icon once and have it update everywhere across the entire app.
It massively improves developer experience and code readability.
Requirements
components/icons/directory.WalletIcon.tsx).classNameprops so we can size/color them with Tailwind.