Skip to content

Commit 888fcfc

Browse files
committed
📝 Update FlexBox docs
1 parent 960feb4 commit 888fcfc

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

src/flex-box/about.mdx

+20-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,27 @@ route: /flex-box
66
import { Playground } from 'docz'
77
import { FlexBox } from './index'
88

9-
# FlexBox Component
9+
# FlexBox
1010

11-
Like [`Box`](#/box) component, but extended with [flexbox](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout) specific props.
11+
## Description
12+
13+
Like [`Box`](#/box) component, but extended with [flexbox](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout) specific prop styles.
14+
15+
16+
## Usage
17+
18+
```js
19+
import { FlexBox } from 'pss-components'
20+
```
21+
22+
```js
23+
<FlexBox>
24+
<FlexBox.Item>Item</FlexBox.Item>
25+
</FlexBox>
26+
```
27+
28+
29+
## Examples
1230

1331
<Playground>
1432
<FlexBox>

0 commit comments

Comments
 (0)