1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | import { __assign, __extends, __rest } from "tslib";
|
17 | import classNames from "classnames";
|
18 | import * as React from "react";
|
19 | import { AbstractPureComponent, Classes } from "../../common";
|
20 | import { DISPLAYNAME_PREFIX } from "../../common/props";
|
21 |
|
22 |
|
23 | var NavbarHeading = (function (_super) {
|
24 | __extends(NavbarHeading, _super);
|
25 | function NavbarHeading() {
|
26 | return _super !== null && _super.apply(this, arguments) || this;
|
27 | }
|
28 | NavbarHeading.prototype.render = function () {
|
29 | var _a = this.props, children = _a.children, className = _a.className, htmlProps = __rest(_a, ["children", "className"]);
|
30 | return (React.createElement("div", __assign({ className: classNames(Classes.NAVBAR_HEADING, className) }, htmlProps), children));
|
31 | };
|
32 | NavbarHeading.displayName = "".concat(DISPLAYNAME_PREFIX, ".NavbarHeading");
|
33 | return NavbarHeading;
|
34 | }(AbstractPureComponent));
|
35 | export { NavbarHeading };
|
36 |
|
\ | No newline at end of file |