Skip to content

Commit

Permalink
Merge pull request #2135 from gluestack/fix/hstack-vstack-docs
Browse files Browse the repository at this point in the history
fix/hstack-vstack-docs
  • Loading branch information
surajahmed authored May 8, 2024
2 parents 6d9b07a + 4908c59 commit 2824dce
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -182,7 +182,7 @@ HStack component is created using View component from react-native. It extends a
<Table.TText>-</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`It sets the space between children.`}</Table.TText>
<Table.TText>{`It sets the space between children. By default there is no space between the HStack items.`}</Table.TText>
</Table.TD>
</Table.TR>
<Table.TR>
Expand All @@ -195,7 +195,7 @@ HStack component is created using View component from react-native. It extends a
<Table.TText>{`boolean`}</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>-</Table.TText>
<Table.TText>false</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`When true, it places the HStack items in reverse direction.`}</Table.TText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -165,7 +165,7 @@ HStack component is created using View component from react-native. It extends a
<Table.TText>-</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`It sets the space between children.`}</Table.TText>
<Table.TText>{`It sets the space between children. By default there is no space between the HStack items.`}</Table.TText>
</Table.TD>
</Table.TR>
<Table.TR>
Expand All @@ -178,7 +178,7 @@ HStack component is created using View component from react-native. It extends a
<Table.TText>{`boolean`}</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>-</Table.TText>
<Table.TText>false</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`When true, it places the HStack items in reverse direction.`}</Table.TText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -192,7 +192,7 @@ VStack component is created using View component from react-native. It extends a
<Table.TText>-</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`It sets the space between children.`}</Table.TText>
<Table.TText>{`It sets the space between children. By default there is no space between the VStack items.`}</Table.TText>
</Table.TD>
</Table.TR>
<Table.TR>
Expand All @@ -205,7 +205,7 @@ VStack component is created using View component from react-native. It extends a
<Table.TText>boolean</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>-</Table.TText>
<Table.TText>false</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`When true, it places the VStack items in reverse direction.`}</Table.TText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -134,7 +134,7 @@ HStack component is created using View component from react-native. It extends a
<Table.TText>-</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`It sets the space between children.`}</Table.TText>
<Table.TText>{`It sets the space between children. By default there is no space between the HStack items.`}</Table.TText>
</Table.TD>
</Table.TR>
<Table.TR>
Expand All @@ -147,7 +147,7 @@ HStack component is created using View component from react-native. It extends a
<Table.TText>{`boolean`}</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>-</Table.TText>
<Table.TText>false</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`When true, it places the HStack items in reverse direction.`}</Table.TText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -144,7 +144,7 @@ VStack component is created using View component from react-native. It extends a
<Table.TText>-</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`It sets the space between children.`}</Table.TText>
<Table.TText>{`It sets the space between children. By default there is no space between the VStack items.`}</Table.TText>
</Table.TD>
</Table.TR>
<Table.TR>
Expand All @@ -157,7 +157,7 @@ VStack component is created using View component from react-native. It extends a
<Table.TText>boolean</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>-</Table.TText>
<Table.TText>false</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`When true, it places the VStack items in reverse direction.`}</Table.TText>
Expand Down

0 comments on commit 2824dce

Please sign in to comment.