gluestack

gluestack Logogluestack

How do we customize and upgrade components?

hey_kaue posted this in #support
Open in Discord
Avatar
hey_kaueOP
I'm really liking nativewind+gluestack even with all the 4.1 kinks to be worked out.
But realizing that things are not stable with 4.1, I'm thinking that I'll need to update my components eventually.

Right now I'm customizing the components directly, for example I go to ui/input/index.tsx and customize the gluestack input with my tailwind classes.

Is this the right way to do it? Or is there a better way to extend it? Because by doing it this way there's no way to update the component because it'd remove all my custom classes.

1 Reply