We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4eebf3c + 28bbfe4 commit cc20ca7Copy full SHA for cc20ca7
packages/ra-ui-materialui/src/layout/Layout.tsx
@@ -7,7 +7,7 @@ import React, {
7
} from 'react';
8
import { ErrorBoundary } from 'react-error-boundary';
9
import clsx from 'clsx';
10
-import { styled } from '@mui/material/styles';
+import { styled, SxProps } from '@mui/material/styles';
11
import { CoreLayoutProps } from 'ra-core';
12
13
import { AppBar as DefaultAppBar, AppBarProps } from './AppBar';
@@ -76,6 +76,7 @@ export interface LayoutProps
76
error?: ComponentType<ErrorProps>;
77
menu?: ComponentType<MenuProps>;
78
sidebar?: ComponentType<{ children: ReactNode }>;
79
+ sx?: SxProps;
80
}
81
82
export interface LayoutState {
0 commit comments