@blueprintjs/core
Version:
Core styles & components
19 lines • 809 B
JavaScript
/*
* 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 NavbarDivider extends React.PureComponent {
render() {
const { className, ...htmlProps } = this.props;
return React.createElement("div", Object.assign({ className: classNames(Classes.NAVBAR_DIVIDER, className) }, htmlProps));
}
}
NavbarDivider.displayName = `${DISPLAYNAME_PREFIX}.NavbarDivider`;
//# sourceMappingURL=navbarDivider.js.map