Skip to content

Commit

Permalink
Add missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
codeincontext committed Nov 19, 2024
1 parent 3e98bb4 commit a68ea4a
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 0 deletions.
15 changes: 15 additions & 0 deletions apps/nextjs/src/app/aila/[id]/download/DownloadView.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { Meta, StoryObj } from "@storybook/react";

import { DownloadView } from "./DownloadView";

const meta: Meta<typeof DownloadView> = {
title: "Pages/Chat/Download",
component: DownloadView,
};

export default meta;
type Story = StoryObj<typeof DownloadView>;

export const Default: Story = {
args: {},
};
15 changes: 15 additions & 0 deletions apps/nextjs/src/app/aila/[id]/share/index.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { Meta, StoryObj } from "@storybook/react";

import ShareChat from "./";

const meta: Meta<typeof ShareChat> = {
title: "Pages/Chat/Share",
component: ShareChat,
};

export default meta;
type Story = StoryObj<typeof ShareChat>;

export const Default: Story = {
args: {},
};
28 changes: 28 additions & 0 deletions apps/nextjs/src/app/aila/help/index.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import type { Meta, StoryObj } from "@storybook/react";

import { DemoProvider } from "@/components/ContextProviders/Demo";

import Help from "./index";

const meta: Meta<typeof Help> = {
title: "Pages/Chat/Help",
component: Help,
parameters: {
// Including custom decorators changes the layout from fullscreen
layout: "fullscreen",
},
decorators: [
(Story) => (
<DemoProvider>
<Story />
</DemoProvider>
),
],
};

export default meta;
type Story = StoryObj<typeof Help>;

export const Default: Story = {
args: {},
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import type { Meta, StoryObj } from "@storybook/react";

import { DemoProvider } from "@/components/ContextProviders/Demo";

import { DialogProvider } from "../DialogContext";
import { ChatStart } from "./chat-start";

const meta: Meta<typeof ChatStart> = {
title: "Pages/Chat/Chat Start",
component: ChatStart,
parameters: {
// Including custom decorators changes the layout from fullscreen
layout: "fullscreen",
},
decorators: [
(Story) => (
<DialogProvider>
<DemoProvider>
<Story />
</DemoProvider>
</DialogProvider>
),
],
};

export default meta;
type Story = StoryObj<typeof ChatStart>;

export const Default: Story = {
args: {},
};

0 comments on commit a68ea4a

Please sign in to comment.