UNPKG

@talend/react-bootstrap

Version:

Bootstrap 3 components built with React

24 lines 716 B
import classNames from 'classnames'; import React from 'react'; import { bsClass, getClassSet, splitBsProps } from './utils/bootstrapUtils'; import { jsx as _jsx } from "react/jsx-runtime"; class PageHeader extends React.Component { render() { const { className, children, ...props } = this.props; const [bsProps, elementProps] = splitBsProps(props); const classes = getClassSet(bsProps); return /*#__PURE__*/_jsx("div", { ...elementProps, className: classNames(className, classes), children: /*#__PURE__*/_jsx("h1", { children: children }) }); } } export default bsClass('page-header', PageHeader); //# sourceMappingURL=PageHeader.js.map