2023-10-10 15:16:58 +00:00
|
|
|
import React from "react";
|
2023-10-09 05:49:32 +00:00
|
|
|
import { StoryFn, Meta } from "@storybook/react";
|
|
|
|
import LumeIdentity from "../src/components/lume/LumeIdentity/LumeIdentity.js";
|
2023-10-20 10:32:02 +00:00
|
|
|
import AuthProvider from "../src/components/AuthProvider.js";
|
2023-10-09 05:49:32 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
title: "LumeIdentity",
|
|
|
|
component: LumeIdentity,
|
|
|
|
} as Meta<typeof LumeIdentity>;
|
|
|
|
|
|
|
|
const Template: StoryFn<typeof LumeIdentity> = (args) => (
|
2023-10-16 18:55:01 +00:00
|
|
|
<AuthProvider>
|
2023-10-10 15:16:58 +00:00
|
|
|
<LumeIdentity {...args} />
|
2023-10-16 18:55:01 +00:00
|
|
|
</AuthProvider>
|
2023-10-09 05:49:32 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
export const Primary = Template.bind({});
|
|
|
|
Primary.args = {
|
|
|
|
// Add initial props here
|
|
|
|
};
|