@alicloud/cloud-charts
Version:

31 lines (23 loc) • 780 B
JavaScript
;
import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
import * as React from 'react';
import { PrefixName } from '../../constants';
var prefix = PrefixName + "-wcontainer";
var Divider = /*#__PURE__*/function (_React$PureComponent) {
_inheritsLoose(Divider, _React$PureComponent);
function Divider() {
return _React$PureComponent.apply(this, arguments) || this;
}
var _proto = Divider.prototype;
_proto.shouldComponentUpdate = function shouldComponentUpdate() {
return false;
};
_proto.render = function render() {
return /*#__PURE__*/React.createElement("div", {
className: prefix + "-divider"
});
};
return Divider;
}(React.PureComponent);
Divider.displayName = 'Divider';
export { Divider as default };