({ children }: { children: React.ReactNode })
| 3 | import React from "react"; |
| 4 | import ScrollToTop from "react-scroll-to-top"; |
| 5 | const ScrollToTopWrapper = ({ children }: { children: React.ReactNode }) => { |
| 6 | const { resolvedTheme } = useTheme(); |
| 7 | |
| 8 | return ( |
| 9 | <div> |
| 10 | <ScrollToTop smooth className={"flex justify-center items-center !rounded-full "} style={{ zIndex: 100 }} /> |
| 11 | {children} |
| 12 | </div> |
| 13 | ); |
| 14 | }; |
| 15 | |
| 16 | export default ScrollToTopWrapper; |
nothing calls this directly
no outgoing calls
no test coverage detected