geoview-core
    Preparing search index...

    Variable FadeConst

    Fade: (props: FadePropsExtend) => Element = FadeUI

    Type Declaration

      • (props: FadePropsExtend): Element
      • Create a customized Material UI Fade component.

        Parameters

        Returns Element

        The Fade component

        // Basic usage
        <Fade in={true}>
        <div>Content to fade</div>
        </Fade>

        // With timeout
        <Fade
        in={isVisible}
        timeout={300}
        >
        <Card>Fading card</Card>
        </Fade>

        // With unmount on exit
        <Fade
        in={show}
        unmountOnExit
        >
        <Typography>Content unmounts when faded out</Typography>
        </Fade>