diff --git a/packages/storybook/.env.example b/packages/storybook/.env.example deleted file mode 100644 index a6b9da0d..00000000 --- a/packages/storybook/.env.example +++ /dev/null @@ -1,5 +0,0 @@ -WS_URL="wss://realtime.courier.com/production" -API_URL="https://api.courier.com/client/q" -INBOX_API_URL="https://inbox.courier.com/q" -CLIENT_KEY="ZDJmNTVhMWQtYmZjMS00ODg0LThhMjQtZDg0ZDg5ZTlhN2Ri" -USER_ID="70f6a4f4-2907-4518-b8f3-b9cfab224764" \ No newline at end of file diff --git a/packages/storybook/.env.local.example b/packages/storybook/.env.local.example deleted file mode 100644 index 86b9c802..00000000 --- a/packages/storybook/.env.local.example +++ /dev/null @@ -1,5 +0,0 @@ -WS_URL="wss://20en15n3ng.execute-api.us-east-1.amazonaws.com/dev" -API_URL= "https://rubmz24skk.execute-api.us-east-1.amazonaws.com/dev/client/q" -INBOX_API_URL="https://3rjq5oe9b1.execute-api.us-east-1.amazonaws.com/dev/q" -CLIENT_KEY="ZDJmNTVhMWQtYmZjMS00ODg0LThhMjQtZDg0ZDg5ZTlhN2Ri" -USER_ID="70f6a4f4-2907-4518-b8f3-b9cfab224764" \ No newline at end of file diff --git a/packages/storybook/stories/inbox/archive.stories.tsx b/packages/storybook/stories/inbox/archive.stories.tsx deleted file mode 100644 index 848f8419..00000000 --- a/packages/storybook/stories/inbox/archive.stories.tsx +++ /dev/null @@ -1,64 +0,0 @@ -import React from "react"; -import ReactMarkdown from "react-markdown"; - -import { Inbox } from "@trycourier/react-inbox"; -import { CourierProvider } from "@trycourier/react-provider"; -import rehypeRaw from "rehype-raw"; - -import readmeMd from "@trycourier/react-inbox/README.md"; - -// @ts-ignore - -const API_URL = process.env.API_URL || ""; -const CLIENT_KEY = process.env.CLIENT_KEY || ""; -const USER_ID = process.env.USER_ID || ""; - -export default { - title: "Inbox", -}; - -export const ReadMe = () => { - return {readmeMd}; -}; - -export const ArchivedExample = () => { - return ( -
-
- {`## Archived Example`} - {` -\`\`\` - -\`\`\``} -
-
- [ - // mockMiddleware, - // ...defaultMiddleware, - // ]} - clientKey={CLIENT_KEY} - userId={USER_ID} - > - - -
-
- ); -};