diff --git a/.storybook/config.js b/.storybook/config.js index ea3f9302565f..4007932d1aa0 100644 --- a/.storybook/config.js +++ b/.storybook/config.js @@ -124,13 +124,6 @@ addDecorator(Story => ); addDecorator(story => {story()}); configure(() => { - // Load sticker creator stories - const stickerCreatorContext = require.context( - '../sticker-creator', - true, - /\.stories\.tsx?$/ - ); - stickerCreatorContext.keys().forEach(f => stickerCreatorContext(f)); // Load main app stories const tsComponentsContext = require.context( '../ts/components', @@ -138,4 +131,11 @@ configure(() => { /\.stories.tsx?$/ ); tsComponentsContext.keys().forEach(f => tsComponentsContext(f)); + // Load sticker creator stories + const stickerCreatorContext = require.context( + '../sticker-creator', + true, + /\.stories\.tsx?$/ + ); + stickerCreatorContext.keys().forEach(f => stickerCreatorContext(f)); }, module); diff --git a/ts/components/emoji/EmojiButton.stories.tsx b/ts/components/emoji/EmojiButton.stories.tsx index b4865ac2304c..3555b15f2f72 100644 --- a/ts/components/emoji/EmojiButton.stories.tsx +++ b/ts/components/emoji/EmojiButton.stories.tsx @@ -11,7 +11,7 @@ import { EmojiButton } from './EmojiButton'; const i18n = setupI18n('en', enMessages); -storiesOf('Components/emojis/EmojiButton', module).add('Base', () => { +storiesOf('Components/Emoji/EmojiButton', module).add('Base', () => { return (
{ return ( { +storiesOf('Components/Stickers/StickerPreviewModal', module).add('Full', () => { const title = text('title', 'Foo'); const author = text('author', 'Foo McBarrington'); const abeSticker = {