UNPKG

@coreui/react

Version:

UI Components Library for React.js

18 lines (15 loc) 666 B
import { __rest } from '../../node_modules/tslib/tslib.es6.js'; import React, { forwardRef } from 'react'; import PropTypes from 'prop-types'; import classNames from '../../_virtual/index.js'; const CNavbarText = forwardRef((_a, ref) => { var { children, className } = _a, rest = __rest(_a, ["children", "className"]); return (React.createElement("span", Object.assign({ className: classNames('navbar-text', className) }, rest, { ref: ref }), children)); }); CNavbarText.propTypes = { children: PropTypes.node, className: PropTypes.string, }; CNavbarText.displayName = 'CNavbarText'; export { CNavbarText }; //# sourceMappingURL=CNavbarText.js.map