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

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