Function: TitleOption()
TitleOption(
title,params?):OptionFunction
Defined in: lib/navigation/Navigator-options.tsx:87
Creates navigation options for a screen with a title and optional close icon.
Parameters
title
string
The title to display in the header
params?
Optional parameters for additional configuration
quitBackToRoot?
boolean
Whether to navigate to root when closing
quitToScreen?
string
Screen to navigate to when closing
removeBackButton?
boolean
Whether to hide the back button
withCloseIcon?
boolean
Whether to show a close icon
Returns
Navigation options with title and optional close icon