import React from 'react'; import { MemoryRouter } from 'react-router-dom'; import { ApolloProvider } from '@apollo/client'; import { RecoilRoot } from 'recoil'; import { DefaultLayout } from '@/ui/layout/DefaultLayout'; import { ComponentStorybookLayout } from './ComponentStorybookLayout'; import { FullHeightStorybookLayout } from './FullHeightStorybookLayout'; import { mockedClient } from './mockedClient'; export function getRenderWrapperForPage( children: React.ReactElement, currentPath: string, ) { return function render() { return ( {children} ); }; } export function getRenderWrapperForComponent(children: React.ReactElement) { return function render() { return ( {children} ); }; }