import { ComponentMeta , ComponentStory } from '@storybook/react' ; import React from 'react' ; import App from './App' ; import { Demo } from './Demo' ; export default { title : 'Demo' , component : Demo , argTypes : { backgroundColor : { control : 'color' } , } , } as ComponentMeta < typeof Demo > ; const Template = ( args ) => < Demo { ... args } / > ; export const Primary = Template . bind ( { } ) ; Primary . args = { prefix : `g${ + new Date ( ) }` , isDevelopmentMode : true , container : App , typescript : `/**
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  *
  */
 
 import React, { FC } from 'react'
 
 const App: FC = () => <div> 'hello world'</div>
 
 export default App
 
  ` , } ;