import React from 'react'; import { Empty } from '@/ui/empty'; import { useTranslation } from '@affine/i18n'; export const PageListEmpty = (props: { listType?: string }) => { const { listType } = props; const { t } = useTranslation(); return (
{listType === 'all' &&

{t('emptyAllPages')}

} {listType === 'favorite' &&

{t('emptyFavourite')}

} {listType === 'trash' &&

{t('emptyTrash')}

}

{t('still designed')}

); }; export default PageListEmpty;