import { FC } from 'react' import { NotificationProvider } from '@baseapp-frontend/utils' import createCache from '@emotion/cache' import { CacheProvider } from '@emotion/react' import { UISettingsProvider } from '../../../../hooks/web' import { SnackbarProvider } from '../../../../providers/web' import { createPalette } from '../../../../styles/web/palette' import ReactSuspenseWithLoading from '../ReactSuspenseWithLoading' import ThemeTestProvider from '../ThemeTestProvider' import { WithDesignSystemProviderProps } from './types' const withDesignSystemProvider = (Component: FC) => (props: Props & WithDesignSystemProviderProps) => { const { ThemeTestProviderProps, ReactSuspenseWithLoadingProps, UISettingsProviderProps, ...restProps } = props as Props & WithDesignSystemProviderProps const emotionCache = createCache({ key: 'test-key' }) return ( ) } export default withDesignSystemProvider