import { Notification } from '@arco-design/web-vue';
import { IconLoading } from '@arco-design/web-vue/es/icon';

export function showExportNotification(label: string, id: '') {
  Notification.warning({
    id,
    showIcon: false,
    closable: true,
    content: () => (
      <div class="flex items-center">
        <IconLoading size={16} class="color-#6D4CFE mr-8px" />
        <p class="text-14px lh-22px font-400 color-#211F24">{label}</p>
      </div>
    ),
    duration: 3000,
    class: 'px-16px py-9px w-400px rounded-2px bg-#F0EDFF',
  });
}