SnackProvider is a component that provides snack notifications to its children.

  • Parameters

    • props: ISnackProviderProps

      The props for SnackProvider component.

      • children

        The children components that will have access to snack notifications.

      • delay

        The delay for auto hiding the snack notifications.

    Returns Element

    • The SnackProvider component.