From 4bb65a194402b8088da13ed02414671f98a6c6f8 Mon Sep 17 00:00:00 2001
From: Kishore <42832651+kishore03109@users.noreply.github.com>
Date: Thu, 15 Jun 2023 10:12:28 +0800
Subject: [PATCH] feat(storybook): add sitelaunchpad to storybook
---
.../SiteLaunchPad/SiteLaunchPad.stories.tsx | 39 +++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 src/layouts/SiteLaunchPad/SiteLaunchPad.stories.tsx
diff --git a/src/layouts/SiteLaunchPad/SiteLaunchPad.stories.tsx b/src/layouts/SiteLaunchPad/SiteLaunchPad.stories.tsx
new file mode 100644
index 0000000000..1cf29aaf5c
--- /dev/null
+++ b/src/layouts/SiteLaunchPad/SiteLaunchPad.stories.tsx
@@ -0,0 +1,39 @@
+import { ComponentMeta, Story } from "@storybook/react"
+import { MemoryRouter, Route } from "react-router-dom"
+
+import { SiteLaunchProvider } from "contexts/SiteLaunchContext"
+
+import { buildSiteLaunchDto } from "mocks/utils"
+
+import { SiteLaunchPad } from "./SiteLaunchPad"
+
+const SiteLaunchPadMeta = {
+ title: "Pages/SiteLaunchPad",
+ component: SiteLaunchPad,
+ parameters: {
+ msw: {
+ handlers: {
+ siteLaunchStatusProps: buildSiteLaunchDto({
+ siteStatus: "NOT_LAUNCHED",
+ }),
+ },
+ },
+ },
+ decorators: [
+ (StoryFn) => {
+ return (
+
+
+
+
+
+
+
+ )
+ },
+ ],
+} as ComponentMeta
+
+const Template = SiteLaunchPad
+export const Default: Story = Template.bind({})
+export default SiteLaunchPadMeta