Function useRequestSnackbar

Represents a custom hook to display a snackbar with request feedback.

  • Parameters

    • options: IParams

      The options for the snackbar.

    Returns {
        beginWatch: (() => void);
        render: (() => Element);
        resetWatcher: (() => void);
        stopWatch: (() => void);
    }

    • The snackbar hook object.
    • beginWatch: (() => void)
        • (): void
        • Returns void

    • render: (() => Element)
        • (): Element
        • Returns Element

    • resetWatcher: (() => void)
        • (): void
        • Returns void

    • stopWatch: (() => void)
        • (): void
        • Returns void