gluestack-ui
gluestack-ui copied to clipboard
Icons as Element, not type
Description
Hey! I'm migrating from Native Base to GlueStack, but I have a huge problem with Icons. I have my app with Expo so I use a lot of Icons from @Expo/vector-icons with their own props (color, size, etc.) and now... Using gluestack components like <Icon/> or <ButtonIcon /> I can't use them in as={} prop.
How can I fix it?
Problem Statement
I cannot use icons in as prop as before in Native Base or pass through props
Proposed Solution or API
Include a prop to pass Elements too
Alternatives
No response
Additional Information
No response