import React, { Component } from 'react';
import PropTypes from 'prop-types';
import PointView from './PointView';

/**
 * 业务视图
 *
 * @class Point
 * @extends {Component}
 */

class Point extends Component {
  render() {
    return (
      <div style={{ width: '100%', height: '100%' }}>
       { this.props.children || <PointView /> }
      </div>
    );
  }
}

Point.propTypes = {};

export default Point;
