import * as React from "react"; import { StoryFn, Meta } from "@storybook/react"; import { action } from "@storybook/addon-actions"; import { PageHeader, SpacingBox, PrimaryButton, SecondaryButton } from "../../"; import { PromoInline } from "../"; import PromoContent from "../components/PromoContent"; import { PromoProps } from "../types"; export default { title: "Feedback/PromoInline", component: PromoInline, subcomponents: { PromoContent }, argTypes: { bodyContent: { control: { type: "text" } }, primaryAction: { control: { disable: true } }, secondaryAction: { control: { disable: true } }, "data-cy": { control: { disable: true } } } } as Meta; const Template: StoryFn = args => ( <> Some page content Some more page content ); export const Default = { render: Template }; export const WithGraphic = { render: Template, args: { primaryAction: Primary Action, secondaryAction: Secondary Action } }; export const WithActions = { render: Template };