import { ComponentStory, ComponentMeta } from '@storybook/react'; import Widget from './Widget'; import React from 'react'; export default { title: '4.UI/Widget', component: Widget, decorators: [(Story) => ], } as ComponentMeta; const Template: ComponentStory = (args) => ; const Row: ComponentStory = () => (
CHART COMING SOON
); export const Demo = Template.bind({}); Demo.args = { info: 'Mainnet', title: 'ENVIRONMENT', }; export const Multiple = Row.bind({}); export const isLoading = Demo.bind({}); isLoading.args = { title: 'SOME INFO', isLoading: true, info: 'fetched info', };