Skip to content

useCreate

useCreate<T>(service, options?): UseMutationResult<T, MantleClientError, Partial<T>>

Defined in: hooks.ts:142

useMutation over service.create(data).

T

string

MutationHookOptions<T, Partial<T>>

UseMutationResult<T, MantleClientError, Partial<T>>