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 NavbarDividerProps = INavbarDividerProps ; deprecated export interface INavbarDividerProps extends Props , HTMLDivProps { } @ polyfill export class NavbarDivider extends AbstractPureComponent2 < NavbarDividerProps > { public static displayName = `${ DISPLAYNAME_PREFIX }.NavbarDivider` ; public render ( ) { const { className , ... htmlProps } = this . props ; return < div className = { classNames ( Classes . NAVBAR_DIVIDER , className ) } { ... htmlProps } />; } }