We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4e6c19 commit 7cccc4aCopy full SHA for 7cccc4a
packages/ra-ui-materialui/src/list/pagination/PaginationLimit.tsx
@@ -4,18 +4,13 @@ import CardContent from '@mui/material/CardContent';
4
import Typography from '@mui/material/Typography';
5
import { useTranslate } from 'ra-core';
6
7
-export const PaginationLimit = memo(
8
- ({ message = 'ra.navigation.no_results' }: PaginationLimitProps) => {
9
- const translate = useTranslate();
10
-
11
- return (
12
- <CardContent>
13
- <Typography variant="body2">{translate(message)}</Typography>
14
- </CardContent>
15
- );
16
- }
17
-);
18
19
-export interface PaginationLimitProps {
20
- message?: string;
21
-}
+export const PaginationLimit = memo(() => {
+ const translate = useTranslate();
+ return (
+ <CardContent>
+ <Typography variant="body2">
+ {translate('ra.navigation.no_results')}
+ </Typography>
+ </CardContent>
+ );
+});
0 commit comments