This commit is contained in:
Joseph Garrone committed 2024-06-06 07:46:48 +02:00
1 parent 9420dc118a
commit f3036ec2c3
8 files changed
+23 -354

No files matched your search

+9 -3
View File
@@ -1,3 +1,9 @@
<script>
console.log("Hello world");
</script>
<style>
body.sb-show-main.sb-main-padded {
padding: 0;
}
body:not(.kcBodyClass) {
background-color: #393939;
}
</style>
+9
View File
@@ -37,3 +37,12 @@ export function createPageStory<PageId extends KcContext["pageId"]>(params: {
return { PageStory };
}
export const parameters = {
viewMode: "story",
previewTabs: {
"storybook/docs/panel": {
hidden: true
}
}
};
-19
View File
@@ -1,19 +0,0 @@
import type { Meta, StoryObj } from "@storybook/react";
import { createPageStory } from "../PageStory";
const pageId = "account.ftl";
const { PageStory } = createPageStory({ pageId });
const meta = {
title: `account/${pageId}`,
component: PageStory
} satisfies Meta<typeof PageStory>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
render: () => <PageStory />
};
Loaded 3 of 8 files, more files were not shown because too many files have changed in this diff. Show more