UNPKG

@coreui/react-pro

Version:

UI Components Library for React.js

21 lines (17 loc) 779 B
'use strict'; var tslib_es6 = require('../../node_modules/tslib/tslib.es6.js'); var React = require('react'); var PropTypes = require('prop-types'); var index = require('../../_virtual/index.js'); const CFooter = React.forwardRef((_a, ref) => { var { children, className, position } = _a, rest = tslib_es6.__rest(_a, ["children", "className", "position"]); return (React.createElement("div", Object.assign({ className: index.default('footer', { [`footer-${position}`]: position }, className) }, rest, { ref: ref }), children)); }); CFooter.propTypes = { children: PropTypes.node, className: PropTypes.string, position: PropTypes.oneOf(['fixed', 'sticky']), }; CFooter.displayName = 'CFooter'; exports.CFooter = CFooter; //# sourceMappingURL=CFooter.js.map