import React from 'react';
import { storiesOf } from '@storybook/react';
import { withKnobs } from '@storybook/addon-knobs';

import UtilityPanel from '../../..';
import UtilityPanelDocs from './UtilityPanel.md';
import UtilityPanelData from './UtilityPanel.json';

storiesOf('organisms', module).addDecorator(withKnobs({ escapeHTML: false })).add('UtilityPanel', function () {
  return React.createElement(UtilityPanel, UtilityPanelData);
}, { info: UtilityPanelDocs });