You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/flex-box/about.mdx
+10-9
Original file line number
Diff line number
Diff line change
@@ -6,24 +6,25 @@ order: -2
6
6
7
7
import { Playground } from'docz'
8
8
import { PropsTable } from'../props-table'
9
+
import { Box } from'../box'
9
10
import { FlexBox } from'./index'
10
11
11
12
# FlexBox
12
13
13
14
## Description
14
15
15
-
Like [`Box`](#/box) component, but extended with [flexbox](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout) specific [prop styles](https://github.com/exah/pss/blob/master/docs/api.md#flex).`FlexBox.Item` is alias for `Box`
16
+
Like [`Box`](#/box) component, but extended with [flexbox](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout) specific [prop styles](https://github.com/exah/pss/blob/master/docs/api.md#flex).
16
17
17
18
18
19
## Usage
19
20
20
21
```js
21
-
import { FlexBox } from'pss-components'
22
+
import { FlexBox, Box } from'pss-components'
22
23
```
23
24
24
25
```js
25
26
<FlexBox>
26
-
<FlexBox.Item>Item</FlexBox.Item>
27
+
<Box>Item</Box>
27
28
</FlexBox>
28
29
```
29
30
@@ -32,15 +33,15 @@ import { FlexBox } from 'pss-components'
0 commit comments