import './demo2.css';
import Loading from '..';
import React from 'react';
import ReactDOM from 'react-dom';

ReactDOM.render(
  <div>
    <Loading tip={<span>default = large</span>}>
      <div className="demo-size">test</div>
    </Loading>
    <Loading tip="large" size="large">
      <div className="demo-size">test</div>
    </Loading>
    <Loading tip="medium" size="medium">
      <div className="demo-size">test</div>
    </Loading>
  </div>,
  document.getElementById('loading-demo-2'),
);
