You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
793 B
38 lines
793 B
5 years ago
|
import React from 'react';
|
||
|
import { Col, Row } from '..';
|
||
|
import imageTest from '../../../tests/shared/imageTest';
|
||
|
|
||
|
describe('Grid image', () => {
|
||
|
imageTest(
|
||
|
<>
|
||
|
<Row>
|
||
|
<Col>col</Col>
|
||
|
</Row>
|
||
|
<Row>
|
||
|
<Col>col</Col>
|
||
|
<Col>col</Col>
|
||
|
<Col>col</Col>
|
||
|
<Col>col</Col>
|
||
|
</Row>
|
||
|
<Row>
|
||
|
<Col span={24}>col</Col>
|
||
|
</Row>
|
||
|
<Row>
|
||
|
<Col span={12}>col-12</Col>
|
||
|
<Col span={12}>col-12</Col>
|
||
|
</Row>
|
||
|
<Row>
|
||
|
<Col span={8}>col-8</Col>
|
||
|
<Col span={8}>col-8</Col>
|
||
|
<Col span={8}>col-8</Col>
|
||
|
</Row>
|
||
|
<Row>
|
||
|
<Col span={6}>col-6</Col>
|
||
|
<Col span={6}>col-6</Col>
|
||
|
<Col span={6}>col-6</Col>
|
||
|
<Col span={6}>col-6</Col>
|
||
|
</Row>
|
||
|
</>,
|
||
|
);
|
||
|
});
|