/**
 * title: "文字"
 * description: ""
 */
import React from 'react';
import { Switch, Grid } from '@alicloud/console-components';

const { Row, Col } = Grid;

export default () => {
  return (
    <Row>
      <Col>
        <Switch
          autoWidth
          defaultChecked
          checkedChildren="on"
          unCheckedChildren="off"
        />
        <br />
        <br />
        <Switch
          autoWidth
          checkedChildren="on"
          unCheckedChildren="off"
        />
      </Col>
      <Col>
        <Switch
          autoWidth
          defaultChecked
          disabled
          checkedChildren="on"
          unCheckedChildren="off"
        />
        <br />
        <br />
        <Switch
          autoWidth
          disabled
          checkedChildren="on"
          unCheckedChildren="off"
        />
      </Col>
      <Col>
        <Switch
          autoWidth
          defaultChecked
          loading
          checkedChildren="on"
          unCheckedChildren="off"
        />
        <br />
        <br />
        <Switch
          autoWidth
          loading
          checkedChildren="on"
          unCheckedChildren="off"
        />
      </Col>
    </Row>
  );
};


