1 2 3 4 5 6 7 8 9 10@react.component let make = () => { let (nativeProp, _) = React.useContext(NativePropContext.nativePropContext) switch nativeProp.sdkState { | PaymentMethodsManagement => <PMMangementNavigatorRouter /> | _ => <NavigationRouter /> } }