import CreateFlowFooter from "../../app/components/utility/CreateFlowFooter";
import Button from "../../app/components/buttons/Button";
export default {
title: "Components/Utility/CreateFlowFooter",
component: CreateFlowFooter,
parameters: {
layout: "fullscreen",
docs: {
description: {
component:
"Footer component for the create rule flow with progress bar and buttons.",
},
},
},
argTypes: {
progressBar: {
control: "boolean",
description: "Whether to show the progress bar",
},
secondButton: {
control: false,
description: "The second button (typically Next) to display on the right side",
},
},
tags: ["autodocs"],
};
export const Default = {
args: {
progressBar: true,
secondButton: (
),
},
};
export const WithoutProgressBar = {
args: {
progressBar: false,
secondButton: (
),
},
};
export const WithoutSecondButton = {
args: {
progressBar: true,
secondButton: undefined,
},
};