mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
update pagination itemcount wording to be language agnostic
This commit is contained in:
@@ -8,6 +8,7 @@ import { useRef } from 'react';
|
|||||||
import styles from './pagination.module.css';
|
import styles from './pagination.module.css';
|
||||||
|
|
||||||
import { Icon } from '/@/shared/components/icon/icon';
|
import { Icon } from '/@/shared/components/icon/icon';
|
||||||
|
import { Separator } from '/@/shared/components/separator/separator';
|
||||||
import { Text } from '/@/shared/components/text/text';
|
import { Text } from '/@/shared/components/text/text';
|
||||||
import { useContainerQuery } from '/@/shared/hooks/use-container-query';
|
import { useContainerQuery } from '/@/shared/hooks/use-container-query';
|
||||||
|
|
||||||
@@ -64,7 +65,7 @@ export const Pagination = ({
|
|||||||
/>
|
/>
|
||||||
{containerQuery.isSm && totalItemCount && (
|
{containerQuery.isSm && totalItemCount && (
|
||||||
<Text isNoSelect weight={500}>
|
<Text isNoSelect weight={500}>
|
||||||
{currentPageStartIndex} - {currentPageEndIndex} of {totalItemCount}
|
{currentPageStartIndex} - {currentPageEndIndex} <Separator /> {totalItemCount}
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user