We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b04212 + 8641156 commit 71f4dbeCopy full SHA for 71f4dbe
packages/ra-ui-materialui/src/layout/Error.tsx
@@ -8,6 +8,7 @@ import {
8
AccordionDetails,
9
AccordionSummary,
10
Typography,
11
+ SxProps,
12
} from '@mui/material';
13
import ErrorIcon from '@mui/icons-material/Report';
14
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
@@ -24,6 +25,8 @@ import { Title } from './Title';
24
25
export const Error = (
26
props: InternalErrorProps & {
27
errorComponent?: ComponentType<ErrorProps>;
28
+ } & {
29
+ sx?: SxProps;
30
}
31
) => {
32
const {
0 commit comments