Basic storybook setup and update readme

This commit is contained in:
garronej
2023-04-17 01:24:15 +02:00
parent f22be4cc0b
commit 58222f4b95
7 changed files with 63 additions and 22 deletions
@@ -0,0 +1,13 @@
import { ComponentStory, ComponentMeta } from '@storybook/react';
import { createPageStory } from "../createPageStory";
const { PageStory } = createPageStory({
pageId: "terms.ftl"
});
export default {
title: "login/Terms",
component: PageStory,
} as ComponentMeta<typeof PageStory>;
export const Primary: ComponentStory<typeof PageStory> = () => <PageStory />;