Type Alias: OpenApiDetailField
OpenApiDetailField =
object
Defined in: detail/OpenApiDetail.tsx:31
A field of OpenApiDetail. Give only key to keep the schema-driven label
and formatting; add label or render to take over either.
Properties
key
key:
string
Defined in: detail/OpenApiDetail.tsx:33
Property of the record.
label?
optionallabel?:string
Defined in: detail/OpenApiDetail.tsx:35
Label. Defaults to the schema title, else the humanized key.
render?
optionalrender?: (args) =>React.ReactNode
Defined in: detail/OpenApiDetail.tsx:37
Custom value content.
Parameters
| Parameter | Type |
|---|---|
args | { record: JsonObject; value: JsonValue | undefined; } |
args.record | JsonObject |
args.value | JsonValue | undefined |
Returns
React.ReactNode