diff --git a/lib/native/AppRouter.re b/lib/native/AppRouter.re index 42f15fa..b0fd6f1 100644 --- a/lib/native/AppRouter.re +++ b/lib/native/AppRouter.re @@ -6,9 +6,20 @@ let homeRoute = Routes.(home() @--> (() => { ; })); + + +module HelloContainer = [%styled.p + {| + color: red; +|} +]; + let helloRoute = Routes.(hello() @--> (() => { print_endline("in hello view"); -

{React.string("In Hello")}

+ <> + {React.string("In Hello")} + {React.string("back home")} + })); let routes = Routes.one_of([homeRoute, helloRoute]);