overleaf/services/web/frontend/stories/loading/loading.stories.tsx
Alf Eaton 1e1a8c0bb3 Add translated messages for more connection error states (#19392)
GitOrigin-RevId: 981de624f3964ebe3ff1f0c751fcef9158864d5e
2024-07-15 09:32:55 +00:00

23 lines
556 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react'
import { Loading } from '@/features/ide-react/components/loading'
import { EditorProviders } from '../../../test/frontend/helpers/editor-providers'
const meta: Meta<typeof Loading> = {
title: 'Loading Page / Loading',
component: Loading,
argTypes: {
setLoaded: { action: 'setLoaded' },
},
}
export default meta
type Story = StoryObj<typeof Loading>
export const LoadingPage: Story = {
render: args => (
<EditorProviders>
<Loading {...args} />
</EditorProviders>
),
}