Skip to content

Commit 25e755f

Browse files
committed
📝 Update Flex docs
1 parent 2fc2000 commit 25e755f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/flex-box/about.mdx

+4-8
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { FlexBox } from './index'
1212

1313
## Description
1414

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).
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`
1616

1717

1818
## Usage
@@ -32,13 +32,13 @@ import { FlexBox } from 'pss-components'
3232

3333
<Playground>
3434
<FlexBox>
35-
<FlexBox.Item>
35+
<FlexBox.Item outline='debug' order={0}>
3636
Item
3737
</FlexBox.Item>
38-
<FlexBox.Item flex='1'>
38+
<FlexBox.Item outline='debug' order={1} flex='1'>
3939
Item
4040
</FlexBox.Item>
41-
<FlexBox.Item>
41+
<FlexBox.Item outline='debug' order={2}>
4242
Item
4343
</FlexBox.Item>
4444
</FlexBox>
@@ -49,7 +49,3 @@ import { FlexBox } from 'pss-components'
4949
### FlexBox
5050

5151
<PropsTable of={FlexBox} />
52-
53-
### FlexBox.Item
54-
55-
<PropsTable of={FlexBox.Item} />

0 commit comments

Comments
 (0)