From 40872387591288a2382e084922b11b125045f386 Mon Sep 17 00:00:00 2001 From: Tlac Date: Sat, 5 Sep 2020 00:10:36 -0400 Subject: [PATCH] WIP Add modal to storybook --- story/src/6-ChangeLogModal.stories.tsx | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 story/src/6-ChangeLogModal.stories.tsx diff --git a/story/src/6-ChangeLogModal.stories.tsx b/story/src/6-ChangeLogModal.stories.tsx new file mode 100644 index 00000000..41aa1786 --- /dev/null +++ b/story/src/6-ChangeLogModal.stories.tsx @@ -0,0 +1,35 @@ +import React from 'react'; +import { ChangeLogModal } from '../../frontend/src/component/ui/ChangeLogModal'; + +export default { + title: 'UI/ChangeLogModal', + component: , +} + + +export const pink = () => { + const changeLog = [ + { + id: '12345', + title: 'Lorem ipsum', + releasedAt: new Date('01 Jan 2010 00:00:00'), + summaryMarkdown: + 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit' + }, + { + id: '12346', + title: 'Lorem ipsum', + releasedAt: new Date('01 Jan 2010 00:00:00'), + summaryMarkdown: + 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit' + }, + { + id: '12347', + title: 'Lorem ipsum', + releasedAt: new Date('01 Jan 2010 00:00:00'), + summaryMarkdown: + 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit' + } + ]; + return +}