mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
1e1a8c0bb3
GitOrigin-RevId: 981de624f3964ebe3ff1f0c751fcef9158864d5e
23 lines
556 B
TypeScript
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>
|
|
),
|
|
}
|