Open
Description
Description
I'm attempting to manipulate the ButtonIcon component via the utility prop _icon from within the Button component. However, the ButtonIcon component isn't receiving the passed props. Additionally, the utility prop _button doesn't appear to be functioning correctly, or perhaps I'm not using it properly. Note that in the example bellow i am using Lucide Icons, but its the same behaviour with the built-in ones. Everything with _text seems fine.
CodeSandbox/Snack link
No response
Steps to reproduce
- Create RN project.
- Add gluestack-ui and eject it
- Create a button component and try to use _icon prop within Button component
gluestack-ui Version
@gluestack-ui/themed - 1.1.6; @gluestack-ui/config - 1.1.2
Platform
- Expo
- React Native CLI
- Next
- Web
- Android
- iOS
Other Platform
No response
Additional Information
The button:
The result:
Metadata
Metadata
Assignees
Type
Projects
Status
Backlog