App reorganization

This commit is contained in:
adilallo
2026-04-18 14:12:49 -06:00
parent f866d11ff8
commit e9dab04b34
288 changed files with 2698 additions and 5029 deletions
+42
View File
@@ -0,0 +1,42 @@
import ModalHeader from "../../app/components/utility/ModalHeader";
export default {
title: "Components/Utility/ModalHeader",
component: ModalHeader,
parameters: {
layout: "fullscreen",
},
argTypes: {
showCloseButton: {
control: "boolean",
description: "Whether to render the close button on the left",
},
showMoreOptionsButton: {
control: "boolean",
description: "Whether to render the more-options button on the right",
},
onClose: { action: "close-clicked" },
onMoreOptions: { action: "more-options-clicked" },
},
};
export const Default = {
args: {
showCloseButton: true,
showMoreOptionsButton: true,
},
};
export const CloseOnly = {
args: {
showCloseButton: true,
showMoreOptionsButton: false,
},
};
export const MoreOptionsOnly = {
args: {
showCloseButton: false,
showMoreOptionsButton: true,
},
};