Skip to content
Discussion options

You must be logged in to vote

I don't think there's a way to do it with a single recipe. IMO a single recipe and a single component go well together, so the fact that you've had to create two separate recipes could be a signal that really you should be creating two components here, a VerticalMenu and a HorizontalMenu, rather than toggling between recipes at runtime based on props.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shulcsm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants