import { NotificationList } from '../list'

interface RecentNotificationsProps {
  siteId: string
}

export const RecentSiteNotifications = ({
  siteId
}: RecentNotificationsProps) => (
  <NotificationList
    params={{ limit: 5, order: 'desc', siteId }}
    withPagination={false}
  />
)
