gluestack-ui icon indicating copy to clipboard operation
gluestack-ui copied to clipboard

Icons as Element, not type

Open elenitaex5 opened this issue 7 months ago • 0 comments

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

elenitaex5 avatar May 06 '25 11:05 elenitaex5