import { Button } from "./index"; import { DocsPage } from "@shared/stories/DocsTemplate"; import type { Meta, StoryObj } from "@storybook/react"; const meta: Meta = { title: "Contentful Blocks/Button", component: Button, tags: ["autodocs"], parameters: { layout: "centered", docs: { page: DocsPage, description: { component: "Contentful button block. Renders as solid (BrandButton) or text (Link).", }, }, }, args: { showButtonAs: "solid", buttonVariant: "primary_brand", buttonLabel: "Button", buttonPrefix: "", badge: "", badgeIcon: "", buttonIconPosition: "left", href: "", target: "_self", anchorId: "", preserveQueryParameters: false, clickToOpen: "", tabmodalNameToOpen: "", preDefinedFunctionExecution: "", }, }; export default meta; type Story = StoryObj; export const Default: Story = {};