import { useIntl } from 'react-intl';
import styles from './PaginationCursor.module.scss';
const PaginationCursor = ({
  current,
  total,
}: {
  current: number;
  total: number;
}) => {
  const intl = useIntl();
  return (
    
      
        {intl.formatMessage(
          {
            defaultMessage:
              '{articlesCount, plural, =0 {# loaded articles} one {# loaded article} other {# loaded articles}} out of a total of {total}',
            description: 'PaginationCursor: loaded articles count message',
          },
          { articlesCount: current, total }
        )}
      
      
     
  );
};
export default PaginationCursor;