Search in sources :

Example 1 with LightBoxParamsParser

use of com.reactnativenavigation.params.parsers.LightBoxParamsParser in project react-native-navigation by wix.

the class NavigationReactModule method showLightBox.

@ReactMethod
public void showLightBox(final ReadableMap params) {
    LightBoxParams lbp = new LightBoxParamsParser(BundleConverter.toBundle(params)).parse();
    NavigationCommandsHandler.showLightBox(lbp);
}
Also used : LightBoxParamsParser(com.reactnativenavigation.params.parsers.LightBoxParamsParser) LightBoxParams(com.reactnativenavigation.params.LightBoxParams) ReactMethod(com.facebook.react.bridge.ReactMethod)

Aggregations

ReactMethod (com.facebook.react.bridge.ReactMethod)1 LightBoxParams (com.reactnativenavigation.params.LightBoxParams)1 LightBoxParamsParser (com.reactnativenavigation.params.parsers.LightBoxParamsParser)1