import * as React from "react";
import { storiesOf } from "@storybook/react";
import { Overflow } from "../src/index";
import moment from "moment";

storiesOf("Overflow", module).add("Overflow", () => {
  return (
    <div id="app-wrapper">
      <div id="app" style={{ padding: "16px" }}>
        <div style={{position:'absolute',top:'40px',left:'80px'}}>
        <Overflow >
          <Overflow.Item>选项A</Overflow.Item>
        </Overflow>
        </div>
        
        <Overflow theme='dark' >
          <Overflow.Item><i className='iconfont icon-Equipment-Outlined next-icon'></i>选项A</Overflow.Item>
          <Overflow.Item><i className='iconfont icon-Equipment-Outlined next-icon'></i>选项B</Overflow.Item>
        </Overflow>
        </div>
    </div>
  );
});
