Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: migration guide tabs fix #2261

Merged
merged 2 commits into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
---
title: Upgrade to v2 | gluestack-ui

description: A migration guide is a document designed to help you seamlessly transition from your current gluestack ui version v1 to the new version v2. Whether you are upgrading, switching to a new version directly this guide provides step-by-step instructions, best practices, and troubleshooting tips to ensure a smooth migration process..
description: A migration guide is a document designed to help you seamlessly transition from your current gluestack ui version v1 to the new version v2. Whether you are upgrading, switching to a new version directly this guide provides step-by-step instructions, best practices, and troubleshooting tips to ensure a smooth migration process.

pageTitle: Upgrade to v2

pageDescription: A migration guide is a document designed to help you seamlessly transition from your current gluestack ui version v1 to the new version v2. Whether you are upgrading, switching to a new version directly this guide provides step-by-step instructions, best practices, and troubleshooting tips to ensure a smooth migration process..

showHeader: true
---

import { Meta } from '@storybook/addon-docs';
Expand All @@ -26,6 +21,8 @@ import {

# Upgrade to v2

A migration guide is a document designed to help you seamlessly transition from your current gluestack ui version v1 to the new version v2. Whether you are upgrading, switching to a new version directly this guide provides step-by-step instructions, best practices, and troubleshooting tips to ensure a smooth migration process.

## Installation

Run the below command to setup the project:
Expand Down Expand Up @@ -804,6 +801,7 @@ In this property mapper table you can find all the properties of v1 and how they


### Property Combinations :

<>
<TableContainer>
<Table>
Expand Down Expand Up @@ -881,7 +879,14 @@ In this property mapper table you can find all the properties of v1 and how they
<Table.TR>
<Table.TD>
<Table.TText>
<InlineCode>{`sx={{_ios: {property: <value>},_android: {property: <value>}}}`}</InlineCode>
<InlineCode>{`sx={{
_ios: {
property: <value>
},
_android: {
property: <value>
}
}}`}</InlineCode>
</Table.TText>
</Table.TD>
<Table.TD>
Expand All @@ -891,7 +896,24 @@ In this property mapper table you can find all the properties of v1 and how they
<Table.TR>
<Table.TD>
<Table.TText>
<InlineCode>{`sx={{"@base": {_light: {property:<value>},_dark: { property: <value> }},"@md": {_light: { property: <value> },_dark: { property: <value> }}}`}</InlineCode>
<InlineCode>{`sx={{
"@base": {
_light: {
property: <value>
},
_dark: {
property: <value>
}
},
"@md": {
_light: {
property: <value>
},
_dark: {
property: <value>
}
}
}}`}</InlineCode>
</Table.TText>
</Table.TD>
<Table.TD>
Expand Down
Loading