import Area from "../../../json/area.json";
import BasicCascader from "../Basic";

/**
 * 属地级联组件
 */
function AreaCascader(props) {
  const {
    ...restProps
  } = props;

  return (
    <BasicCascader data={Area} nameKey="label" idKey="value" {...restProps} />
  );
}

AreaCascader.displayName = "AreaCascader";

export default AreaCascader;
