import { action } from '@storybook/addon-actions'; import React from 'react'; import { ConnectionStatusContext } from '../../contexts/ConnectionStatusContext'; import { ConnectionStatusAlert } from './ConnectionStatusAlert'; export default { title: 'connectionStatus/ConnectionStatusAlert', component: ConnectionStatusAlert, }; export const connected = () => ; connected.story = { decorators: [ (fn) => , ], }; export const connecting = () => ; connecting.story = { decorators: [ (fn) => , ], }; export const failed = () => ; failed.story = { decorators: [ (fn) => , ], }; export const waiting = () => ; waiting.story = { decorators: [ (fn) => , ], }; export const offline = () => ; offline.story = { decorators: [ (fn) => , ], };