gluestack / gluestack-ui

React & React Native Components & Patterns (copy-paste components & patterns crafted with Tailwind CSS (NativeWind))
https://gluestack.io/
MIT License
2.81k stars 120 forks source link

How can I upgrade a component in v2 ? #2525

Closed llr101 closed 1 month ago

llr101 commented 1 month ago

Description

How can I upgrade a component in v2 ? And how to check if all components I installed are the latest version?

Problem Statement

How can I upgrade a component in v2 ? And how to check if all components I installed are the latest version?

Proposed Solution or API

v2

Alternatives

No response

Additional Information

No response

sra1kumar-NULL commented 1 month ago

hey @llr101 , To upgrade a component in v2 - please use npx gluestack-ui add <component_name> command. To check if all components are in latest version or not - currently we don't have any, but we are working on a script to check and update all the components to the latest versions of them. Closing this issue for now, feel free to reopen the issue if you have any more queries regarding the same context.