Skip to content

Commit

Permalink
removing commmented out story
Browse files Browse the repository at this point in the history
  • Loading branch information
skratchdot committed Jul 24, 2020
1 parent 3fbe422 commit 22517d7
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 59 deletions.
2 changes: 1 addition & 1 deletion docs/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
}</script><style>#root[hidden],
#docs-root[hidden] {
display: none !important;
}</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.e6479b15ba64df1b087d.bundle.js"></script><script src="vendors~main.e6479b15ba64df1b087d.bundle.js"></script><script src="main.e6479b15ba64df1b087d.bundle.js"></script></body></html>
}</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.8269748cbacfd65a79c3.bundle.js"></script><script src="vendors~main.8269748cbacfd65a79c3.bundle.js"></script><script src="main.8269748cbacfd65a79c3.bundle.js"></script></body></html>

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/main.8269748cbacfd65a79c3.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/main.e6479b15ba64df1b087d.bundle.js.map

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/runtime~main.8269748cbacfd65a79c3.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/runtime~main.e6479b15ba64df1b087d.bundle.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/vendors~main.8269748cbacfd65a79c3.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/vendors~main.e6479b15ba64df1b087d.bundle.js.map

This file was deleted.

51 changes: 0 additions & 51 deletions stories/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,55 +149,4 @@ storiesOf('DateRangePicker', module)
<StoryComp />
</div>
);

/*
class StoryComp extends React.Component {
constructor(props) {
super(props);
this.state = {
ranges: {
ics: [
moment('2020-01-02T10:14:33Z'),
moment('2020-30-02T10:14:33Z'),
],
},
};
this.onValueChange = this.onValueChange.bind(this);
}
onValueChange() {
setTimeout(() => {
this.setState({
ranges: {
Electronics: [
moment('2020-01-02T10:14:33Z'),
moment('2020-30-02T10:14:33Z'),
],
},
});
}, 1000);
}
render() {
const buttonLabel = text('label', 'click to open');
return (
<div>
<DateRangePicker
onApply={action('onApply')}
onCancel={action('onCancel')}
onEvent={action('onEvent')}
onHide={action('onHide')}
onHideCalendar={action('onHideCalendar')}
onShow={action('onShow')}
onShowCalendar={action('onShowCalendar')}
ranges={this.state.ranges}
>
<button>{buttonLabel}</button>
</DateRangePicker>
<button onClick={this.onValueChange}>Change ranges after 1 second</button>
</div>
);
}
}
return <StoryComp />;
*/
});

0 comments on commit 22517d7

Please sign in to comment.