UNPKG

@eccenca/gui-elements

Version:

GUI elements based on other libraries, usable in React application, written in Typescript.

40 lines 1.74 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) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import * as React from "react"; import { Tree as BlueprintTree, TreeNode as BlueprintTreeNode, } from "@blueprintjs/core"; var TreeNode = /** @class */ (function (_super) { __extends(TreeNode, _super); function TreeNode() { return _super !== null && _super.apply(this, arguments) || this; } return TreeNode; }(BlueprintTreeNode)); export { TreeNode }; var TreeNodeShadow = /** @class */ (function (_super) { __extends(TreeNodeShadow, _super); function TreeNodeShadow() { return _super !== null && _super.apply(this, arguments) || this; } return TreeNodeShadow; }(React.Component)); export { TreeNodeShadow }; /** * Tree component to display a tree structure. * Have a look to the underlaying [BlueprintJS Tree](https://blueprintjs.com/docs/#core/components/tree) component for examples how to use handlers. * Use only our `<Icon />` elements in the tree nodes! */ export var Tree = BlueprintTree; //# sourceMappingURL=Tree.js.map