gluestack

gluestack Logogluestack

Unable to change button icon from default blue.

c_tech posted this in #support
Open in Discord
Avatar
c_techOP
I think this may be along the same lines as: https://gluestack.forumify.io/post/1274709122075590789#message-1274709122075590789

But specific to the ButtonIcon component. I am completely new to react, and react native (but otherwise an experienced UI engineer).

I've been stuck on this for way too long now, I've tried everything I can think of. It works fine using an Icon component but not the ButtonIcon element.

                 <Button action="primary" className="rounded-full p-3.5" size="xl">
                        <Icon as={ArrowLeftIcon} className="text-red-400" size='xl' />
                    </Button>
                    <Button action="primary" className="rounded-full p-3.5" size="xl">
                        <ButtonIcon as={ArrowLeftIcon} className="text-red-400" size='xl' />
                    </Button>
Image

1 Reply