Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Loading component not rendering #77

Open
grantmontgomery opened this issue Nov 12, 2020 · 1 comment
Open

Loading component not rendering #77

grantmontgomery opened this issue Nov 12, 2020 · 1 comment

Comments

@grantmontgomery
Copy link

grantmontgomery commented Nov 12, 2020

My loading component is not rendering. Is there something I'm doing wrong?

<PageTransition timeout={300} loadingComponent={<SekndLoader></SekndLoader>} loadingDelay={0} loadingTimeout={{ enter: 400, exit: 0, }} classNames="page-transition" loadingClassNames="loading-indicator" > <Component {...pageProps} key={router.route} /> </PageTransition>

@krnbr
Copy link

krnbr commented Nov 26, 2021

Same for me

Am I missing something?

<PageTransition
    timeout={400}
    classNames="page-transition"
    loadingComponent={<Loader />}
    loadingDelay={800}
    loadingTimeout={{
        enter: 400,
        exit: 0,
    }}
    loadingClassNames="loading-indicator"
>
    <Component {...pageProps} key={router?.route}/>
</PageTransition>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants