UNPKG

dtd

Version:

根据数梦工场视觉规范打造的组件库,感谢react-components和ant design

1 lines 715 B
import _classCallCheck from"babel-runtime/helpers/classCallCheck";import _possibleConstructorReturn from"babel-runtime/helpers/possibleConstructorReturn";import _inherits from"babel-runtime/helpers/inherits";import*as React from"react";import DateTHead from"./DateTHead";import DateTBody from"./DateTBody";var DateTable=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,e.apply(this,arguments))}return _inherits(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return React.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},React.createElement(DateTHead,e),React.createElement(DateTBody,e))},t}(React.Component);export default DateTable;