UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

43 lines (42 loc) 1.77 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import * as React from 'react'; import classnames from 'classnames'; import ChartStyle from './ChartStyle'; import ChartType from './ChartType'; import DeleteChart from './DeleteChart'; import ShareChart from './ShareChart'; import TimeSelector from './TimeSelector'; import EditorChart from './EditorChart'; import MoreAction from './MoreAction'; import * as style from './style.mless'; var ActionBar = /** @class */ (function (_super) { __extends(ActionBar, _super); function ActionBar() { return _super !== null && _super.apply(this, arguments) || this; } ActionBar.prototype.render = function () { var _a = this.props, className = _a.className, children = _a.children; return React.createElement("div", { className: classnames(style.root, className) }, children); }; ActionBar.ChartStyle = ChartStyle; ActionBar.ChartType = ChartType; ActionBar.DeleteChart = DeleteChart; ActionBar.ShareChart = ShareChart; ActionBar.TimeSelector = TimeSelector; ActionBar.EditorChart = EditorChart; ActionBar.MoreAction = MoreAction; return ActionBar; }(React.Component)); export default ActionBar;