First page cover only
TomaszOlek opened this issue · 2 comments
TomaszOlek commented
Dose anyone know how to make so that the first page is only a cover?
I was able to do this with fillers as first and last page but on portrait mode, the first page and last page are invisible
I was also trying to add statement so that the filler only shows on desktop
{!isMobile && <Filler />} {children} {!isMobile && <Filler />}
But then I'm getting the error:
React.cloneElement(...): The argument must be a React element, but you passed null.
TomaszOlek commented
TomaszOlek commented
Never mind, I was providing startPage
which was wrong and I had the prev button disabled 😉