Ah, now that is embarrassing. I have corrected this error but still cannot achieve the results I want. I was looking into creating a codesandbox to illustrate my problem, when I came across another error in an example template. I have opened another thread and would come back to this one once I have managed to created the codesandbox.