Search in sources :

Example 1 with SnackbarParamsParser

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

the class NavigationReactModule method showSnackbar.

@ReactMethod
public void showSnackbar(final ReadableMap params) {
    SnackbarParams snackbarParams = new SnackbarParamsParser().parse(BundleConverter.toBundle(params));
    NavigationCommandsHandler.showSnackbar(snackbarParams);
}
Also used : SnackbarParamsParser(com.reactnativenavigation.params.parsers.SnackbarParamsParser) SnackbarParams(com.reactnativenavigation.params.SnackbarParams) ReactMethod(com.facebook.react.bridge.ReactMethod)

Aggregations

ReactMethod (com.facebook.react.bridge.ReactMethod)1 SnackbarParams (com.reactnativenavigation.params.SnackbarParams)1 SnackbarParamsParser (com.reactnativenavigation.params.parsers.SnackbarParamsParser)1