mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
12 lines
No EOL
508 B
JavaScript
12 lines
No EOL
508 B
JavaScript
const React = require('react');
|
|
const { storiesOf } = require('@storybook/react');
|
|
const { action } = require('@storybook/addon-actions');
|
|
const { ModalDialog } = require('stremio/common');
|
|
|
|
storiesOf('ModalDialog', module).add('ModalDialogWithLongContent', () => (
|
|
<ModalDialog title={'ModalDialogWithLongContent'} onCloseRequest={action('onCloseRequest')}>
|
|
<div style={{ height: 1000, background: 'red', color: 'white' }}>
|
|
1000px height content
|
|
</div>
|
|
</ModalDialog>
|
|
)); |