-
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.
test: add stories for onboarding (#423)
- Loading branch information
1 parent
7539661
commit e36841e
Showing
8 changed files
with
88 additions
and
3 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
apps/nextjs/src/components/Onboarding/AcceptTermsForm.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 { AcceptTermsForm } from "./AcceptTermsForm"; | ||
|
||
const meta: Meta<typeof AcceptTermsForm> = { | ||
title: "Pages/Onboarding/AcceptTermsForm", | ||
component: AcceptTermsForm, | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof AcceptTermsForm>; | ||
|
||
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
15 changes: 15 additions & 0 deletions
15
apps/nextjs/src/components/Onboarding/LegacyUpgradeNotice.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 { LegacyUpgradeNotice } from "./LegacyUpgradeNotice"; | ||
|
||
const meta: Meta<typeof LegacyUpgradeNotice> = { | ||
title: "Pages/Onboarding/LegacyUpgradeNotice", | ||
component: LegacyUpgradeNotice, | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof LegacyUpgradeNotice>; | ||
|
||
export const Default: Story = { | ||
args: {}, | ||
}; |
15 changes: 15 additions & 0 deletions
15
apps/nextjs/src/components/Onboarding/TermsContent.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 TermsContent from "./TermsContent"; | ||
|
||
const meta: Meta<typeof TermsContent> = { | ||
title: "Components/Onboarding/TermsContent", | ||
component: TermsContent, | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof TermsContent>; | ||
|
||
export const Default: Story = { | ||
args: {}, | ||
}; |
File renamed without changes.
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 SignUpSignInLayout from "./SignUpSignInLayout"; | ||
|
||
const meta: Meta<typeof SignUpSignInLayout> = { | ||
title: "Components/Layout/SignUpSignInLayout", | ||
component: SignUpSignInLayout, | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof SignUpSignInLayout>; | ||
|
||
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ export { | |
useAuth, | ||
useUser, | ||
useClerk, | ||
useSession, | ||
SignedIn, | ||
SignedOut, | ||
ClerkProvider, | ||
|
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