Discriminated union type for Recipe screen navigation parameters.
Uses the mode field as discriminator to determine which additional properties are available. TypeScript can narrow the type based on the mode value.
mode
Used by RecipeFormScreen to multiplex initial-defaults selection on mode before mounting RHF's FormProvider.
RecipeFormScreen
FormProvider
Discriminated union type for Recipe screen navigation parameters.
Uses the
modefield as discriminator to determine which additional properties are available. TypeScript can narrow the type based on the mode value.Used by
RecipeFormScreento multiplex initial-defaults selection onmodebefore mounting RHF'sFormProvider.