How to Use the Icon Component from @/components/ui #454
-
Hi there, I tried using the Button component with an icon, but I’m running into an issue. It looks like I need to register or import the Icon component, but I can’t seem to find it. Here’s the example I’m referring to:
My question:
Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @dirkcremers, thanks for bringing this up. You can find the info here: https://reactnativereusables.com/docs/changelog#august-2025-new-icon-component When a component depends on it like the I'll add the |
Beta Was this translation helpful? Give feedback.
Hey @dirkcremers, thanks for bringing this up. You can find the info here: https://reactnativereusables.com/docs/changelog#august-2025-new-icon-component
When a component depends on it like the
accordion.tsx
, and you use the CLI to add that component, theicon
component is added automatically. When adding manually, the instructions show how to add theicon
component.I'll add the
icon
component to the list of components to clear this up.