Preparing search index...

    Function snackbarDuration

    • How long a snackbar stays on screen in the current build.

      Parameters

      • hasAction: boolean

        Whether the snackbar shows an action button

      Returns number

      Duration in milliseconds