···11+import preview from "../../../.storybook/preview.js";
22+import React from 'react';
33+44+55+import { Container } from '@chakra-ui/react';
66+import {Provider} from "../../client/components/Provider.js";;
77+import { SSEStatusElement } from "../../client/components/AppHeader.js";
88+99+// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
1010+const meta = preview.meta({
1111+ title: 'Header/SSE Status',
1212+ component: SSEStatusElement,
1313+ parameters: {
1414+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
1515+ layout: 'padded',
1616+ },
1717+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
1818+ tags: ['autodocs'],
1919+ // More on argTypes: https://storybook.js.org/docs/api/argtypes
2020+ // args: {
2121+ // streamable: false,
2222+ // },
2323+ render: function Render(args) {
2424+ return (<SSEStatusElement {...args} />)
2525+ },
2626+decorators: [
2727+ (Story) => (<Provider><Container fluid><Story/></Container></Provider>),
2828+ ]
2929+ // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#story-args
3030+});
3131+3232+export const LogWindow = meta.story({
3333+});