import Industry from "../../../json/industry.json";
import BasicSelectTree from "../Basic";

/**
 * 行业类型下拉树组件
 */
function IndustrySelectTree(props) {
  const {
    ...restProps
  } = props;

  return (
    <BasicSelectTree
      treeData={Industry}
      nameKey="dict_label"
      idKey="dict_value"
      childrenKey="childrenList"
      {...restProps}
    />
  );
}

IndustrySelectTree.displayName = "IndustrySelectTree";

export default IndustrySelectTree;
