Function progress

  • Creates a progress component for loading.

    Parameters

    • props: ProgressProps

      Configuration object

    Returns Element

    A JSX element representing the progress component

    Basic usage

    progress();
    

    Usage with optional label

    progress({
    label: 'Loading data...',
    });