Type Alias: OpenApiDeleteButtonProps
OpenApiDeleteButtonProps =
object
Defined in: detail/OpenApiDeleteButton.tsx:11
Properties
label?
optionallabel?:string
Defined in: detail/OpenApiDeleteButton.tsx:21
Button label. Defaults to "Delete".
onSuccess?
optionalonSuccess?: (data) =>void
Defined in: detail/OpenApiDeleteButton.tsx:19
Called with the response body after the record is deleted.
Parameters
| Parameter | Type |
|---|---|
data | unknown |
Returns
void
operationId
operationId:
string
Defined in: detail/OpenApiDeleteButton.tsx:13
operationId of the DELETE operation.
params?
optionalparams?:OperationParams
Defined in: detail/OpenApiDeleteButton.tsx:15
Path and query params, e.g. the id of the record to delete.
recordName?
optionalrecordName?:string
Defined in: detail/OpenApiDeleteButton.tsx:17
Names the record in the confirmation title ("Delete Ana Silva?").