From eb9795796b6fb1d892c83e652649205dede079b2 Mon Sep 17 00:00:00 2001 From: Damini Date: Wed, 8 May 2024 12:03:17 +0530 Subject: [PATCH] fix: remove none value of space variant in hstack and vstack docs --- .../src/components/HStack/index.nw.stories.mdx | 6 +++--- .../src/components/HStack/index.themed.stories.mdx | 6 +++--- .../src/components/VStack/index.nw.stories.mdx | 6 +++--- .../src/ui/components/Layout/HStack/index.stories.mdx | 8 ++++---- .../src/ui/components/Layout/VStack/index.stories.mdx | 6 +++--- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/example/storybook-nativewind/src/components/HStack/index.nw.stories.mdx b/example/storybook-nativewind/src/components/HStack/index.nw.stories.mdx index d35f6ecc1d..b7e24d7fab 100644 --- a/example/storybook-nativewind/src/components/HStack/index.nw.stories.mdx +++ b/example/storybook-nativewind/src/components/HStack/index.nw.stories.mdx @@ -50,7 +50,7 @@ This is an illustration of **HStack** component. argsType: { space: { control: 'select', - options: ['none', 'xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl'], + options: ['xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl'], default: 'md', }, reversed: { @@ -182,7 +182,7 @@ HStack component is created using View component from react-native. It extends a - - {`It sets the space between children.`} + {`It sets the space between children. By default there is no space between the HStack items.`} @@ -195,7 +195,7 @@ HStack component is created using View component from react-native. It extends a {`boolean`} - - + false {`When true, it places the HStack items in reverse direction.`} diff --git a/example/storybook-nativewind/src/components/HStack/index.themed.stories.mdx b/example/storybook-nativewind/src/components/HStack/index.themed.stories.mdx index 2476ecd37b..4f053f91a6 100644 --- a/example/storybook-nativewind/src/components/HStack/index.themed.stories.mdx +++ b/example/storybook-nativewind/src/components/HStack/index.themed.stories.mdx @@ -51,7 +51,7 @@ This is an illustration of **HStack** component. argsType: { space: { control: 'select', - options: ['none', 'xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl'], + options: ['xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl'], default: 'md', }, reversed: { @@ -165,7 +165,7 @@ HStack component is created using View component from react-native. It extends a - - {`It sets the space between children.`} + {`It sets the space between children. By default there is no space between the HStack items.`} @@ -178,7 +178,7 @@ HStack component is created using View component from react-native. It extends a {`boolean`} - - + false {`When true, it places the HStack items in reverse direction.`} diff --git a/example/storybook-nativewind/src/components/VStack/index.nw.stories.mdx b/example/storybook-nativewind/src/components/VStack/index.nw.stories.mdx index b6a9b837f9..63dc29d196 100644 --- a/example/storybook-nativewind/src/components/VStack/index.nw.stories.mdx +++ b/example/storybook-nativewind/src/components/VStack/index.nw.stories.mdx @@ -55,7 +55,7 @@ This is an illustration of **VStack** component. argsType: { space: { control: 'select', - options: ['none', 'xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl'], + options: ['xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl'], default: 'md', }, reversed: { @@ -192,7 +192,7 @@ VStack component is created using View component from react-native. It extends a - - {`It sets the space between children.`} + {`It sets the space between children. By default there is no space between the VStack items.`} @@ -205,7 +205,7 @@ VStack component is created using View component from react-native. It extends a boolean - - + false {`When true, it places the VStack items in reverse direction.`} diff --git a/example/storybook/src/ui/components/Layout/HStack/index.stories.mdx b/example/storybook/src/ui/components/Layout/HStack/index.stories.mdx index ac9a909fdf..77b03def88 100644 --- a/example/storybook/src/ui/components/Layout/HStack/index.stories.mdx +++ b/example/storybook/src/ui/components/Layout/HStack/index.stories.mdx @@ -48,8 +48,8 @@ This is an illustration of a **Themed HStack** component with default configurat argsType: { space: { control: 'select', - options: ['none', 'xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl'], - default: 'none', + options: ['xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl'], + default: 'md', }, reversed: { control: 'boolean', @@ -134,7 +134,7 @@ HStack component is created using View component from react-native. It extends a - - {`It sets the space between children.`} + {`It sets the space between children. By default there is no space between the HStack items.`} @@ -147,7 +147,7 @@ HStack component is created using View component from react-native. It extends a {`boolean`} - - + false {`When true, it places the HStack items in reverse direction.`} diff --git a/example/storybook/src/ui/components/Layout/VStack/index.stories.mdx b/example/storybook/src/ui/components/Layout/VStack/index.stories.mdx index e2e2b8d783..d07ac357c5 100644 --- a/example/storybook/src/ui/components/Layout/VStack/index.stories.mdx +++ b/example/storybook/src/ui/components/Layout/VStack/index.stories.mdx @@ -54,7 +54,7 @@ This is an illustration of a **Themed VStack** component with default configurat argsType: { space: { control: 'select', - options: ['none', 'xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl'], + options: ['xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl'], default: 'md', }, reversed: { @@ -144,7 +144,7 @@ VStack component is created using View component from react-native. It extends a - - {`It sets the space between children.`} + {`It sets the space between children. By default there is no space between the VStack items.`} @@ -157,7 +157,7 @@ VStack component is created using View component from react-native. It extends a boolean - - + false {`When true, it places the VStack items in reverse direction.`}