import classNames from "classnames" ; import * as React from "react" ; import { polyfill } from "react-lifecycles-compat" ; import { AbstractPureComponent2 , Classes } from "../../common" ; import { DISPLAYNAME_PREFIX , HTMLDivProps , Props } from "../../common/props" ; export type NavbarHeadingProps = INavbarHeadingProps ; deprecated export interface INavbarHeadingProps extends Props , HTMLDivProps { } @ polyfill export class NavbarHeading extends AbstractPureComponent2 < NavbarHeadingProps > { public static displayName = `${ DISPLAYNAME_PREFIX }.NavbarHeading` ; public render ( ) { const { children , className , ... htmlProps } = this . props ; return ( < div className = { classNames ( Classes . NAVBAR_HEADING , className ) } { ... htmlProps } > { children } < /div>); } }