ColumnOffset.js 719 Bytes
import React, { Component, Fragment } from 'react'
import { Row, Col } from 'antd'

class ColumnOffset extends Component {

    render() {
    return (
        <Fragment>
             <div>
                <Row>
                    <Col span={8}>col-8</Col>
                    <Col span={8} offset={8}>col-8</Col>
                </Row>
                <Row>
                    <Col span={6} offset={6}>col-6 col-offset-6</Col>
                    <Col span={6} offset={6}>col-6 col-offset-6</Col>
                </Row>
                <Row>
                    <Col span={12} offset={6}>col-12 col-offset-6</Col>
                </Row>
            </div>
        </Fragment>
    )
}
}
export default ColumnOffset