2020-01-15 10:40:24 +08:00
|
|
|
// import { Button } from '@storybook/react/demo';
|
|
|
|
import { storiesOf } from '@storybook/react';
|
|
|
|
import React from 'react';
|
2020-02-14 10:10:54 +08:00
|
|
|
import MoveViewPort from './component/view-port';
|
2020-04-27 15:44:16 +08:00
|
|
|
import AltTab from './component/alt-tab';
|
2020-05-11 11:40:19 +08:00
|
|
|
import AddItem from './component/addItem';
|
2020-01-15 10:40:24 +08:00
|
|
|
|
|
|
|
export default { title: 'Interaction' };
|
|
|
|
|
2020-04-27 15:44:16 +08:00
|
|
|
storiesOf('Interaction', module)
|
|
|
|
.add('move view port', () => (
|
|
|
|
<MoveViewPort />
|
|
|
|
))
|
|
|
|
.add('alt tab in windows', () => (
|
|
|
|
<AltTab />
|
2020-05-11 11:40:19 +08:00
|
|
|
))
|
|
|
|
.add('add item', () => (
|
|
|
|
<AddItem />
|
2020-04-27 15:44:16 +08:00
|
|
|
));
|