@coreui/react-pro
Version:
UI Components Library for React.js
19 lines (16 loc) • 748 B
JavaScript
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 CFooter = forwardRef((_a, ref) => {
var { children, className, position } = _a, rest = __rest(_a, ["children", "className", "position"]);
return (React.createElement("div", Object.assign({ className: classNames('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';
export { CFooter };
//# sourceMappingURL=CFooter.js.map