geoview-core
    Preparing search index...

    Variable CircularProgressConst

    CircularProgress: (props: CircularProgressPropsExtend) => Element = CircularProgressUI

    Type Declaration

      • (props: CircularProgressPropsExtend): Element
      • A customized Material UI Circular Progress component with fade animation.

        Parameters

        Returns Element

        A rendered CircularProgress component

        // Basic usage with loading state
        <CircularProgress isLoaded={false} />

        // With custom size and color
        <CircularProgress
        isLoaded={false}
        size={40}
        color="secondary"
        />

        // With custom styling
        <CircularProgress
        isLoaded={false}
        sx={{
        color: 'primary.main',
        position: 'absolute'
        }}
        />

        // With custom thickness
        <CircularProgress
        isLoaded={false}
        thickness={4}
        size={50}
        />

        For performance optimization in cases of frequent parent re-renders, consider wrapping this component with React.memo at the consumption level.