UNPKG

@blueprintjs/core

Version:
19 lines 831 B
/* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. * * Licensed under the terms of the LICENSE file distributed with this project. */ import classNames from "classnames"; import * as React from "react"; import * as Classes from "../../common/classes"; import { DISPLAYNAME_PREFIX } from "../../common/props"; // this component is simple enough that tests would be purely tautological. /* istanbul ignore next */ export class NavbarHeading extends React.PureComponent { render() { const { children, className, ...htmlProps } = this.props; return (React.createElement("div", Object.assign({ className: classNames(Classes.NAVBAR_HEADING, className) }, htmlProps), children)); } } NavbarHeading.displayName = `${DISPLAYNAME_PREFIX}.NavbarHeading`; //# sourceMappingURL=navbarHeading.js.map