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

storiesOf("Loading", module).add("Loading", () => {
  this.state = {
    selectedKeys: []
  }

  return (
    <div id='app-wrapper'>
      <div id='app'>
      <Loading tip="加载中... " size="medium">
          <div className="demo">test</div>
        </Loading>
      </div>
    </div>
  );
});