Hex Core JS
    Preparing search index...

    Function useGraphQLToasts

    • Provides handling for using pre-defined toast types in response to GraphQL API events.

      Parameters

      Returns {
          addErrorToast: (errorProps: Pick<ErrorToastProps, "errors">) => void;
          addSuccessToast: () => void;
          removeLastToast: () => void;
      }