import React from 'react' ; import { Meta , Story } from '@storybook/react' ; import { JsonEditor as Component , Props } from './JsonEditor' ; const meta = { title : 'Atoms/JsonEditor' , component : Component } ; export default meta ; const Template = ( args ) => < Component { ... args } / > ; export const JsonEditor = Template . bind ( { } ) ; JsonEditor . args = { value : '{}' } ;