From cd433cd0ca7391351153808d09ac73da794fcc6b Mon Sep 17 00:00:00 2001 From: sra1kumar-NULL Date: Thu, 27 Jun 2024 19:07:21 +0530 Subject: [PATCH 1/2] fix: migration guide tabs fix --- .../src/home/overview/Upgrade to v2/index.nw.stories.mdx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/example/storybook-nativewind/src/home/overview/Upgrade to v2/index.nw.stories.mdx b/example/storybook-nativewind/src/home/overview/Upgrade to v2/index.nw.stories.mdx index f363b58a6..5c87a2bda 100644 --- a/example/storybook-nativewind/src/home/overview/Upgrade to v2/index.nw.stories.mdx +++ b/example/storybook-nativewind/src/home/overview/Upgrade to v2/index.nw.stories.mdx @@ -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'; @@ -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: From 13432580c26814e0ed06a975b910b3038625520c Mon Sep 17 00:00:00 2001 From: sra1kumar-NULL Date: Thu, 27 Jun 2024 19:19:14 +0530 Subject: [PATCH 2/2] fix: final fix --- .../Upgrade to v2/index.nw.stories.mdx | 29 +++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/example/storybook-nativewind/src/home/overview/Upgrade to v2/index.nw.stories.mdx b/example/storybook-nativewind/src/home/overview/Upgrade to v2/index.nw.stories.mdx index 5c87a2bda..466f11378 100644 --- a/example/storybook-nativewind/src/home/overview/Upgrade to v2/index.nw.stories.mdx +++ b/example/storybook-nativewind/src/home/overview/Upgrade to v2/index.nw.stories.mdx @@ -801,6 +801,7 @@ In this property mapper table you can find all the properties of v1 and how they ### Property Combinations : + <> @@ -878,7 +879,14 @@ In this property mapper table you can find all the properties of v1 and how they - {`sx={{_ios: {property: },_android: {property: }}}`} + {`sx={{ + _ios: { + property: + }, + _android: { + property: + } + }}`} @@ -888,7 +896,24 @@ In this property mapper table you can find all the properties of v1 and how they - {`sx={{"@base": {_light: {property:},_dark: { property: }},"@md": {_light: { property: },_dark: { property: }}}`} + {`sx={{ + "@base": { + _light: { + property: + }, + _dark: { + property: + } + }, + "@md": { + _light: { + property: + }, + _dark: { + property: + } + } + }}`}