Type Alias: OpenApiAppProps
OpenApiAppProps =
Omit<OpenApiViewProps,"location"|"onNavigate"> &object
Defined in: resources/OpenApiApp.tsx:19
Type Declaration
defaultLocation?
optionaldefaultLocation?:OpenApiLocation
The first screen when uncontrolled. Defaults to the first resource's list.
location?
optionallocation?:OpenApiLocation
The current screen, when the app's router owns it (controlled). Omit to let the component keep it.
onNavigate?
optionalonNavigate?: (location) =>void
Called with the next location when the user navigates.
Parameters
| Parameter | Type |
|---|---|
location | OpenApiLocation |
Returns
void