import React, { useState } from 'react';
import { Cascader, Row, Col } from '@btri-ui/base';

export default () => {
  return (
    <Row autoMode={true}>
      <Col span={4}>
        <Cascader
          regionType="country"
          onChange={(region) => {
            console.log(region, 'region');
          }}
        />
      </Col>
      <Col span={4}>
        <Cascader
          regionType="country"
          onChange={(region) => {
            console.log(region, 'region');
          }}
          regionCodes={['110000', '110100', '440200', '110101']}
          value={['110000', '110100', '110101']}
        />
      </Col>
    </Row>
  );
};
