Skip to content

Commit 467c22a

Browse files
author
Alexis
committed
docs: add story for modal
1 parent 84defd9 commit 467c22a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import React from 'react';
2+
import Modal from './Modal';
3+
4+
export default {
5+
title: 'IDE/Modal',
6+
component: Modal,
7+
argTypes: {
8+
onClose: { action: 'onClose' }
9+
}
10+
};
11+
12+
export const ModalDefault = {
13+
args: {
14+
title: 'Example Modal Title',
15+
children: <p>Example modal body</p>
16+
}
17+
};

0 commit comments

Comments
 (0)