diff --git a/src/AntDesignMenu.stories.js b/src/AntDesignMenu.stories.js new file mode 100644 index 000000000..d593cb38c --- /dev/null +++ b/src/AntDesignMenu.stories.js @@ -0,0 +1,60 @@ +import { storiesOf } from '@storybook/react'; +import React from 'react'; +import 'antd/dist/antd.css'; +import './index.css'; +import { Menu, Icon } from 'antd'; + + +const SubMenu = Menu.SubMenu; +const MenuItemGroup = Menu.ItemGroup; + +class Sider extends React.Component { + handleClick = (e) => { + console.log('click ', e); + } + + render() { + return ( +
+ ); + } +} + + +storiesOf('Lab1', module) + .add('Menu', () => ( +