diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index f5dde5a25..1bf941da2 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -3,6 +3,7 @@ import type { ReactNode } from 'react'; import type { DecoratorFunction, GlobalTypes, Parameters } from 'storybook/internal/types'; import { Box } from '@launchpad-ui/box'; +import { FocusTrapContext } from '@launchpad-ui/focus-trap'; import sprite from '@launchpad-ui/icons/img/sprite.svg'; import { withThemeByDataAttribute } from '@storybook/addon-themes'; import { BrowserRouter, useNavigate } from 'react-router'; @@ -156,29 +157,31 @@ const decorators: DecoratorFunction[] = [ return ( - {mirror ? ( - - - + + {mirror ? ( + + + + + + + - + ) : ( + - - ) : ( - - - - )} + )} + );