Update storybook setup for portability

This commit is contained in:
Joseph Garrone
2024-06-06 07:28:34 +02:00
parent a7f3e00821
commit 54645f5cff
43 changed files with 165 additions and 307 deletions

View File

@ -1,15 +1,13 @@
import React from "react";
import type { Meta, StoryObj } from "@storybook/react";
import { createPageStory, parameters } from "../PageStory";
const pageId = "log.ftl";
import { createPageStory } from "../PageStory";
const { PageStory } = createPageStory({
pageId
pageId: "log.ftl"
});
const meta = {
title: `account/${pageId}`,
title: "account/log.ftl",
component: PageStory
} satisfies Meta<typeof PageStory>;