25 lines
607 B
TypeScript
25 lines
607 B
TypeScript
import type { Meta, StoryObj } from '@storybook/react';
|
|
import { GoLiveView, GoLiveViewSkeleton } from './go-live-view';
|
|
|
|
const meta: Meta<typeof GoLiveView> = {
|
|
title: 'Components/Features/Studio/GoLiveView',
|
|
component: GoLiveView,
|
|
parameters: { layout: 'fullscreen' },
|
|
tags: ['autodocs'],
|
|
decorators: [
|
|
(Story) => (
|
|
<div className="bg-background min-h-layout-main p-4">
|
|
<Story />
|
|
</div>
|
|
),
|
|
],
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof meta>;
|
|
|
|
export const Default: Story = {};
|
|
|
|
export const Loading: Story = {
|
|
render: () => <GoLiveViewSkeleton />,
|
|
};
|