File tree Expand file tree Collapse file tree
packages/ra-ui-materialui/src/layout Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { styled, SxProps } from '@mui/material/styles';
1111import { CoreLayoutProps } from 'ra-core' ;
1212
1313import { AppBar as DefaultAppBar , AppBarProps } from './AppBar' ;
14- import { Sidebar as DefaultSidebar } from './Sidebar' ;
14+ import { Sidebar as DefaultSidebar , SidebarProps } from './Sidebar' ;
1515import { Menu as DefaultMenu , MenuProps } from './Menu' ;
1616import { Error , ErrorProps } from './Error' ;
1717import { SkipNavigationButton } from '../button' ;
@@ -79,7 +79,7 @@ export interface LayoutProps
7979 className ?: string ;
8080 error ?: ComponentType < ErrorProps > ;
8181 menu ?: ComponentType < MenuProps > ;
82- sidebar ?: ComponentType < { children : ReactNode } > ;
82+ sidebar ?: ComponentType < SidebarProps > ;
8383 sx ?: SxProps ;
8484}
8585
You can’t perform that action at this time.
0 commit comments