import React, { forwardRef, HTMLAttributes } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' export interface CFooterProps extends HTMLAttributes { /** * A string of all className you want applied to the base component. */ className?: string /** * Place footer in non-static positions. */ position?: 'fixed' | 'sticky' } export const CFooter = forwardRef( ({ children, className, position, ...rest }, ref) => { return (
{children}
) } ) CFooter.propTypes = { children: PropTypes.node, className: PropTypes.string, position: PropTypes.oneOf(['fixed', 'sticky']), } CFooter.displayName = 'CFooter'