import { MyBetaModalFormProps } from '@/common';
import { MyModal } from '@/components/MyModal';
import AssetBuildings from '../table/AssetBuildings';

export default function BuildingsManage(props: MyBetaModalFormProps) {
  return (
    <MyModal
      title="楼栋"
      type="primary"
      width="90%"
      modal={{
        title: `楼栋管理 - ${props?.item?.name || ''}`,
        footer: false,
      }}
      node={<AssetBuildings item={props?.item} reload={props?.reload} />}
    />
  );
}
