first commit

This commit is contained in:
Olu Amey
2021-12-18 20:23:31 -05:00
commit bce242fd22
308 changed files with 42398 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import React, { useEffect } from 'react';
import TopToBottom from '../lib/TopToBottom';
function BackToTop({ className }) {
useEffect(() => {
TopToBottom('.back-to-top');
});
return (
<>
<div className={`back-to-top ${className}`}>
<a href="#">
<i className="fal fa-arrow-up" />
</a>
</div>
</>
);
}
export default BackToTop;