gluestack

gluestack Logogluestack

Styled Button ClassNames not working

jamajuice posted this in #support
Open in Discord
Avatar
jamajuiceOP
I'm trying to style a button in gluestack and finding it complicated.

I should simply be able to apply bg-color-# and border-color-# classes and simply get the style I want. The styles aren't being applied.

Ideally I can define this outside the action types available (primary, positive etc.. or add 'custom') .

Also the same issue applies to Pressable,

And this was working fine in v1..

I'm on "@gluestack-ui/button": "^1.0.8",
Or I might as well use react-native components

1 Reply