RecipesScreen
fun RecipesScreen(recipeViewModel: RecipeViewModel = viewModel(factory = RecipeViewModel.Factory), onRecipeClick: (Long, String) -> Unit)
Composable function for the RecipesScreen. It displays a list of recipes and handles user interactions such as refreshing the list and clicking on a recipe.
Parameters
recipeViewModel
The ViewModel for managing Recipe data.
onRecipeClick
The function to be invoked when a recipe is clicked.