Builds props for RecipeSourceUrl component based on current mode and source URL availability
Only returns props when in read-only mode with a non-empty source URL. Returns undefined in all other cases to conditionally hide the component.
Current recipe screen mode
Source URL from the recipe (if available)
Callback fired after URL is copied to clipboard
Props object for RecipeSourceUrl or undefined if component should not be shown
Builds props for RecipeSourceUrl component based on current mode and source URL availability
Only returns props when in read-only mode with a non-empty source URL. Returns undefined in all other cases to conditionally hide the component.