import { AdminContext, AdminContextProps } from './AdminContext'; import { AdminUI, AdminUIProps, localStorageStore } from 'react-admin'; type AdminProps = AdminContextProps & AdminUIProps; function Admin(props: AdminProps): JSX.Element { const { authProvider, catchAll, children, dashboard, dataProvider, disableTelemetry, history, i18nProvider, layout, loading, loginPage, authCallbackPage, menu, // deprecated, use a custom layout instead notification, queryClient, requireAuth, store = localStorageStore(), ready, theme, title = 'React Admin' } = props; return ( {children} ); } export { Admin }; export type { AdminProps };