import * as React from "react"; import { Story, Meta } from "@storybook/react"; import { MessagePanel, MessagePanelWrapper } from ".."; import { PrimaryButton, SecondaryButton } from "../../button"; import { PageHeader } from "../../pageheader"; export default { title: "Feedback/MessagePanel", component: MessagePanel, argTypes: { primaryAction: { control: { disable: true } }, secondaryAction: { control: { disable: true } } }, args: { appearance: "standard", heading: "No Policy Set" } } as Meta; const Template: Story = args => ( Define policy to start allowing groups and roles access to your clusters. ); export const Default = Template.bind({}); export const WithMessagePanelWrapper = args => ( <> Roles]} /> Define policy to start allowing groups and roles access to your clusters. ); export const WithActions = Template.bind({}); WithActions.args = { primaryAction: Create Role, secondaryAction: Learn More };