import { ReactNode } from "react" ; const withAnchor = ( anchor , el ) : ReactNode => { return ( < > < div id = { anchor } style = { { height : '80rem' } } > < /div> { el } < />); } ; export default withAnchor ;