Skip to content

Commit f394b4f

Browse files
author
Dimitri Kopriwa
committed
fix(Grid): fix example missing imporrts
1 parent eca3f20 commit f394b4f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/Col/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import { Col, Row } from '$PACKAGE_NAME';
1919
You can use `offset`, `size`, `push`, `pull` modifier on any `Col` component:
2020

2121
```js
22+
import { Col, Row } from '$PACKAGE_NAME';
23+
2224
<Row>
2325
<Col lg={2} md={{ offset: 4 }}>Hello</Col>
2426
<Col lg={10} md={2}>World</Col>
@@ -28,6 +30,8 @@ You can use `offset`, `size`, `push`, `pull` modifier on any `Col` component:
2830
Left empty to have automatic columns:
2931

3032
```js
33+
import { Col, Row } from '$PACKAGE_NAME';
34+
3135
<Row>
3236
<Col>Hello</Col>
3337
<Col>World</Col>

src/Row/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ import {
2222
You can use `offset`, `size`, `push`, `pull` modifier on any `Col` component:
2323

2424
```js
25+
import { Col, Row } from '$PACKAGE_NAME';
26+
2527
<Row>
2628
<Col lg={2} md={{ offset: 4 }}>Hello</Col>
2729
<Col lg={10} md={2}>World</Col>
@@ -31,6 +33,8 @@ You can use `offset`, `size`, `push`, `pull` modifier on any `Col` component:
3133
Left empty to have automatic colums:
3234

3335
```js
36+
import { Col, Row } from '$PACKAGE_NAME';
37+
3438
<Row>
3539
<Col>Hello</Col>
3640
<Col>World</Col>

0 commit comments

Comments
 (0)