Skip to content

Commit 116aad9

Browse files
committed
chore: stack documentation review
1 parent f24703b commit 116aad9

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

content/4.components/stack.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version: 2.0+
66

77
# Stack
88

9-
Stack is a layout utility component that makes it easy to stack elements together and apply a space between them. It composes the `Flex` component.
9+
Stack is a layout utility component that makes it easy to stack elements together and apply a space between them. It composes the `CFlex` component.
1010

1111
## Import
1212

@@ -34,12 +34,12 @@ import { CStack, CHStack, CVStack } from '@chakra-ui/vue-next';
3434
```html
3535
<CStack :spacing="5">
3636
<CBox :p="5" shadow="md" border-width="1px">
37-
<CHeading>See the Vue</c-heading>
38-
<CText :mt="4">Vue makes front-end development a breeze.</c-text>
37+
<CHeading>See the Vue</CHeading>
38+
<CText :mt="4">Vue makes front-end development a breeze.</CText>
3939
</CBox>
4040
<CBox :p="5" shadow="md" border-width="1px">
41-
<CHeading>Go Nuxt!</c-heading>
42-
<CText :mt="4">Nuxt makes writing Vue even easier.</c-text>
41+
<CHeading>Go Nuxt!</CHeading>
42+
<CText :mt="4">Nuxt makes writing Vue even easier.</CText>
4343
</CBox>
4444
</CStack>
4545
```
@@ -58,12 +58,12 @@ You can stack the items horizontally either:
5858
```html
5959
<CStack :spacing="5" is-inline>
6060
<CBox :p="5" shadow="md" border-width="1px">
61-
<CHeading>See the Vue</c-heading>
62-
<CText :mt="4">Vue makes front-end development a breeze.</c-text>
61+
<CHeading>See the Vue</CHeading>
62+
<CText :mt="4">Vue makes front-end development a breeze.</CText>
6363
</CBox>
6464
<CBox :p="5" shadow="md" border-width="1px">
65-
<CHeading>Go Nuxt!</c-heading>
66-
<CText :mt="4">Nuxt makes writing Vue even easier.</c-text>
65+
<CHeading>Go Nuxt!</CHeading>
66+
<CText :mt="4">Nuxt makes writing Vue even easier.</CText>
6767
</CBox>
6868
</CStack>
6969
```
@@ -78,12 +78,12 @@ You can stack the items horizontally either:
7878
```html
7979
<CHStack :spacing="5">
8080
<CBox :p="5" shadow="md" border-width="1px">
81-
<CHeading>See the Vue</c-heading>
82-
<CText :mt="4">Vue makes front-end development a breeze.</c-text>
81+
<CHeading>See the Vue</CHeading>
82+
<CText :mt="4">Vue makes front-end development a breeze.</CText>
8383
</CBox>
8484
<CBox :p="5" shadow="md" border-width="1px">
85-
<CHeading>Go Nuxt!</c-heading>
86-
<CText :mt="4">Nuxt makes writing Vue even easier.</c-text>
85+
<CHeading>Go Nuxt!</CHeading>
86+
<CText :mt="4">Nuxt makes writing Vue even easier.</CText>
8787
</CBox>
8888
</CHStack>
8989
```
@@ -102,12 +102,12 @@ Set `direction` to `row-reverse` or `column-reverse`.
102102
```html
103103
<CStack :spacing="5" is-reversed>
104104
<CBox :p="5" shadow="md" border-width="1px">
105-
<CHeading>See the Vue</c-heading>
106-
<CText :mt="4">Vue makes front-end development a breeze.</c-text>
105+
<CHeading>See the Vue</CHeading>
106+
<CText :mt="4">Vue makes front-end development a breeze.</CText>
107107
</CBox>
108108
<CBox :p="5" shadow="md" border-width="1px">
109-
<CHeading>Go Nuxt!</c-heading>
110-
<CText :mt="4">Nuxt makes writing Vue even easier.</c-text>
109+
<CHeading>Go Nuxt!</CHeading>
110+
<CText :mt="4">Nuxt makes writing Vue even easier.</CText>
111111
</CBox>
112112
</CStack>
113113
```
@@ -124,7 +124,7 @@ Set `direction` to `row-reverse` or `column-reverse`.
124124
<CText>Chakra component 1</CText>
125125
<p>HTML paragraph element</p>
126126
<h3>HTML heading element</h3>
127-
<CText>Chakra component 2</c-text>
127+
<CText>Chakra component 2</CText>
128128
</CStack>
129129
```
130130

0 commit comments

Comments
 (0)