import React, { Suspense } from 'react' import { StoryFn, Meta } from '@storybook/react' import Component from '.' export default { title: 'TransactionUI/Display.HTML', component: Component, } as Meta const Template: StoryFn = args => ( Loading...

}>
) export const Default = Template.bind({}) Default.args = { label: 'One line', html: '

Hello, world!

', } Default.parameters = { docs: { source: { code: 'Disabled for this story, see https://github.com/storybookjs/storybook/issues/11554', }, }, } export const Multiline = Template.bind({}) Multiline.args = { label: 'Multiple lines', html: `

Hello, world!

Hello, world!

Hello, world!

`, } Multiline.parameters = { docs: { source: { code: 'Disabled for this story, see https://github.com/storybookjs/storybook/issues/11554', }, }, }