import * as React from "react";
import { StoryFn, Meta } from "@storybook/react";
import { InfoBoxInline } from "../index";
import { PrimaryAction, SecondaryAction } from "./helpers/actions";
import InfoBoxStoryContainer from "./helpers/InfoBoxStoryContainer";
export default {
title: "Feedback/InfoBoxInline",
component: InfoBoxInline,
argTypes: {
appearance: {
options: ["default", "info", "success", "warning", "danger", "outline"],
control: { type: "select" }
},
primaryAction: {
control: { disable: true }
},
secondaryAction: {
control: { disable: true }
},
className: {
control: { disable: true }
}
},
args: {
message: "This message is an example of how we might inform the user.",
appearance: "default"
}
} as Meta;
const Template: StoryFn = args => (
And that something is detailed enough to require two lines and some custom formatting