mirror of
https://github.com/strapi/strapi.git
synced 2025-09-15 19:39:06 +00:00
page size URL query
This commit is contained in:
parent
325a7d1e14
commit
95e41b21b7
@ -9,7 +9,7 @@ import { useIntl } from 'react-intl';
|
|||||||
import { Box } from '@strapi/design-system/Box';
|
import { Box } from '@strapi/design-system/Box';
|
||||||
import { Flex } from '@strapi/design-system/Flex';
|
import { Flex } from '@strapi/design-system/Flex';
|
||||||
import { Select, Option } from '@strapi/design-system/Select';
|
import { Select, Option } from '@strapi/design-system/Select';
|
||||||
import { Text } from '@strapi/design-system/Text';
|
import { Typography } from '@strapi/design-system/Typography';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import useQueryParams from '../../hooks/useQueryParams';
|
import useQueryParams from '../../hooks/useQueryParams';
|
||||||
import useTracking from '../../hooks/useTracking';
|
import useTracking from '../../hooks/useTracking';
|
||||||
@ -48,12 +48,12 @@ const PageSizeURLQuery = ({ trackedEvent }) => {
|
|||||||
<Option value="100">100</Option>
|
<Option value="100">100</Option>
|
||||||
</Select>
|
</Select>
|
||||||
<Box paddingLeft={2}>
|
<Box paddingLeft={2}>
|
||||||
<Text textColor="neutral600" as="label" htmlFor="page-size">
|
<Typography textColor="neutral600" as="label" htmlFor="page-size">
|
||||||
{formatMessage({
|
{formatMessage({
|
||||||
id: 'components.PageFooter.select',
|
id: 'components.PageFooter.select',
|
||||||
defaultMessage: 'Entries per page',
|
defaultMessage: 'Entries per page',
|
||||||
})}
|
})}
|
||||||
</Text>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Flex>
|
</Flex>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user