From 823c111c8a7c00f2813701a231bed18fd96d7f44 Mon Sep 17 00:00:00 2001 From: svetlagasheva Date: Fri, 22 Nov 2019 15:49:49 +0200 Subject: [PATCH] modal dialog with long content added to storybook --- .../ModalDialogWithLongContent.js | 12 ++++++++++++ .../ModalDialog/ModalDialogWithLongContent/index.js | 1 + .../SampleModalDialog/SampleModalDialog.js | 1 - storybook/stories/ModalDialog/index.js | 1 + 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 storybook/stories/ModalDialog/ModalDialogWithLongContent/ModalDialogWithLongContent.js create mode 100644 storybook/stories/ModalDialog/ModalDialogWithLongContent/index.js diff --git a/storybook/stories/ModalDialog/ModalDialogWithLongContent/ModalDialogWithLongContent.js b/storybook/stories/ModalDialog/ModalDialogWithLongContent/ModalDialogWithLongContent.js new file mode 100644 index 000000000..2874c4701 --- /dev/null +++ b/storybook/stories/ModalDialog/ModalDialogWithLongContent/ModalDialogWithLongContent.js @@ -0,0 +1,12 @@ +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', () => ( + +
+ 1000px height content +
+
+)); \ No newline at end of file diff --git a/storybook/stories/ModalDialog/ModalDialogWithLongContent/index.js b/storybook/stories/ModalDialog/ModalDialogWithLongContent/index.js new file mode 100644 index 000000000..9d6e86c15 --- /dev/null +++ b/storybook/stories/ModalDialog/ModalDialogWithLongContent/index.js @@ -0,0 +1 @@ +require('./ModalDialogWithLongContent'); diff --git a/storybook/stories/ModalDialog/SampleModalDialog/SampleModalDialog.js b/storybook/stories/ModalDialog/SampleModalDialog/SampleModalDialog.js index 980810b0e..f7c8de1de 100644 --- a/storybook/stories/ModalDialog/SampleModalDialog/SampleModalDialog.js +++ b/storybook/stories/ModalDialog/SampleModalDialog/SampleModalDialog.js @@ -1,4 +1,3 @@ - const React = require('react'); const { storiesOf } = require('@storybook/react'); const { action } = require('@storybook/addon-actions'); diff --git a/storybook/stories/ModalDialog/index.js b/storybook/stories/ModalDialog/index.js index 89d26593b..41efd1e48 100644 --- a/storybook/stories/ModalDialog/index.js +++ b/storybook/stories/ModalDialog/index.js @@ -1,2 +1,3 @@ require('./SampleModalDialog'); require('./ModalDialogWithActionButtons'); +require('./ModalDialogWithLongContent');