Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

679 B
Raw Blame
import type { Meta, StoryObj } from "@storybook/react-vite";
import { CalendlyInline } from "@processor/components/procurement/CalendlyInline";
import "@processor/views/Procurement.css";

const meta: Meta<typeof CalendlyInline> = {
  title: "Portal/Procurement/CalendlyInline",
  component: CalendlyInline,
  parameters: { layout: "padded" },
};
export default meta;
type Story = StoryObj<typeof CalendlyInline>;

// Calendly's widget.js can't reach the network in Storybook, so this renders the
// "unable to load" fallback link rather than the live embed.
export const Default: Story = {};

export const WithPrefilledEmail: Story = {
  args: { email: "[email protected]" },
};