Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

WIP Add modal to storybook #1011

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions story/src/6-ChangeLogModal.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React from 'react';
import { ChangeLogModal } from '../../frontend/src/component/ui/ChangeLogModal';

export default {
title: 'UI/ChangeLogModal',
component: <ChangeLogModal />,
}


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 <ChangeLogModal changeLog={changeLog}></ChangeLogModal>
}