import React from 'react'; import { ComponentsOverrides } from '@mui/material/styles'; /** * Button toggling the theme (light or dark). * * Enabled by default in the when the component has a darkMode. * * @example * import { AppBar, ToggleThemeButton } from 'react-admin'; * * const MyAppBar = () => ( * } /> * ); * * const MyLayout = ({ children }) => ( * * {children} * * ); */ export declare const ToggleThemeButton: () => React.JSX.Element; declare const PREFIX = "RaToggleThemeButton"; declare module '@mui/material/styles' { interface ComponentNameToClassKey { [PREFIX]: 'root'; } interface Components { [PREFIX]?: { styleOverrides?: ComponentsOverrides>[typeof PREFIX]; }; } } export {}; //# sourceMappingURL=ToggleThemeButton.d.ts.map