-
public class ReactFragment.Builder
Builder class to help instantiate a ReactFragment
-
-
Constructor Summary
Constructors Constructor Description ReactFragment.Builder()
-
Method Summary
Modifier and Type Method Description ReactFragment.Builder
setComponentName(String componentName)
Set the Component name for our React Native instance. ReactFragment.Builder
setLaunchOptions(Bundle launchOptions)
Set the Launch Options for our React Native instance. ReactFragment
build()
-
-
Method Detail
-
setComponentName
ReactFragment.Builder setComponentName(String componentName)
Set the Component name for our React Native instance.
- Parameters:
componentName
- The name of the component
-
setLaunchOptions
ReactFragment.Builder setLaunchOptions(Bundle launchOptions)
Set the Launch Options for our React Native instance.
- Parameters:
launchOptions
- launchOptions
-
build
ReactFragment build()
-
-
-
-