提交 7ffc8b4b38bc46c77033d11026059be4f748dcbf

作者 sorrycc
1 个父辈 617aff58

add blocks/layout-antd-col-12-12

  1 +{
  2 + "name": "两栏布局 Col 12-12",
  3 + "description": "Antd 的 col-12-12 布局。",
  4 + "dependencies": {
  5 + "antd": "^3.10.9"
  6 + },
  7 + "block": {
  8 + "category": "布局"
  9 + }
  10 +}
... ...
  1 +import React from 'react';
  2 +import { Row, Col } from 'antd';
  3 +
  4 +export default () => {
  5 + return (
  6 + <Row>
  7 + <Col span={12}>INSERT_BLOCK_PLACEHOLDER:Col 12</Col>
  8 + <Col span={12}>INSERT_BLOCK_PLACEHOLDER:Col 12</Col>
  9 + </Row>
  10 + );
  11 +}
... ...
注册登录 后发表评论