Fork me on GitHub
#reagent
<
2021-09-03
>
jyriand14:09:35

<Stack.Navigator>
  <Stack.Screen name="Login" component={LoginScreen} />
</Stack.Navigator>
> Do you know of any easy way to write this in hiccup? The Navigator and Screen are attributes/properties of Stack and just [:> stack/Stack.Navigation ..] doesn't work.

p-himik14:09:16

Are you sure that stack/Stack is the right Stack and not something else?

jyriand14:09:18

I have a require ["@react-navigation/stack" :as stack]

jyriand14:09:59

Ok, nevermind, I'm stupid 😄

😄 2
jyriand14:09:02

you are right

🙂 2
jyriand14:09:58

(def nav-stack (stack/createStackNavigator)) This is what I need to use

Ryan15:09:25

I had the saaaaame problem with my component library 🙂