Commit bd6fed54 by Peter Holmberg

first stuff

parent 116e7074
import React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { ValueMappingsEditor } from './ValueMappingsEditor';
import { withCenteredStory } from '../../utils/storybook/withCenteredStory';
const ValueMappingsEditorStories = storiesOf('UI/ValueMappingsEditor', module);
ValueMappingsEditorStories.addDecorator(withCenteredStory);
ValueMappingsEditorStories.add('default', () => {
return (
<ValueMappingsEditor
valueMappings={[]}
onChange={() => {
action('Mapping changed');
}}
/>
);
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment