All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsMain.tanstack.react.query.useMutation.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:JsModule("@tanstack/react-query")

package tanstack.react.query

import tanstack.query.core.MutationFunction
import tanstack.query.core.MutationKey

external fun  useMutation(options: UseMutationOptions): UseMutationResult

external fun  useMutation(
    mutationFn: MutationFunction,
    options: UseMutationOptions = definedExternally,
): UseMutationResult

external fun  useMutation(
    mutationKey: MutationKey,
    options: UseMutationOptions = definedExternally,
): UseMutationResult

external fun  useMutation(
    mutationKey: MutationKey,
    mutationFn: MutationFunction = definedExternally,
    options: UseMutationOptions = definedExternally,
): UseMutationResult




© 2015 - 2025 Weber Informatics LLC | Privacy Policy