-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e98bb4
commit a68ea4a
Showing
4 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
apps/nextjs/src/app/aila/[id]/download/DownloadView.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: {}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: {}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: {}, | ||
}; |
31 changes: 31 additions & 0 deletions
31
apps/nextjs/src/components/AppComponents/Chat/chat-start.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: {}, | ||
}; |