import PropTypes from 'prop-types'; import { skeleton } from '../../helpers/utils'; const DefaultFooter = () => { return (

Made with GitProfile and ❤️

); }; const Footer = ({ content, loading }) => { let footerContent = null; if (content) { footerContent =
; } else { footerContent = ; } return (
{loading ? skeleton({ width: 'w-52', height: 'h-6' }) : footerContent}
); }; Footer.propTypes = { content: PropTypes.string, loading: PropTypes.bool.isRequired, }; export default Footer;