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 LumeDashboard from "../src/components/lume/LumeDashboard/LumeDashboard.js";
|
2023-10-20 10:32:02 +00:00
|
|
|
import NetworksProvider from "../src/components/NetworksProvider.js";
|
2023-10-09 05:49:32 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
title: "LumeDashboard",
|
|
|
|
component: LumeDashboard,
|
|
|
|
} as Meta<typeof LumeDashboard>;
|
|
|
|
|
|
|
|
const Template: StoryFn<typeof LumeDashboard> = (args) => (
|
2023-10-16 18:55:01 +00:00
|
|
|
<NetworksProvider>
|
2023-10-09 05:49:32 +00:00
|
|
|
<LumeDashboard {...args} />
|
2023-10-16 18:55:01 +00:00
|
|
|
</NetworksProvider>
|
2023-10-09 05:49:32 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
export const Primary = Template.bind({});
|
|
|
|
Primary.args = {
|
|
|
|
// Add initial props here
|
|
|
|
};
|