import { Toaster, toast } from '@pac/web';
import { useEffect } from 'react';

export const Toasts = () => {
  useEffect(() => {
    toast.success('已认领 黄莉');
    toast.error('提交失败,请重试');
    toast('已同步该患者最新资料');
  }, []);
  return (
    <div className="h-[280px]">
      <Toaster position="top-center" />
    </div>
  );
};
