using ReactNative.Bridge; using ReactNative.Modules.Core; using ReactNative.UIManager; using System; using System.Collections.Generic; namespace RNViewShot { /// /// Package defining core framework modules (e.g., ). /// It should be used for modules that require special integration with /// other framework parts (e.g., with the list of packages to load view /// managers from). /// public class RNViewShotPackage : IReactPackage { /// /// Creates the list of native modules to register with the react /// instance. /// /// The react application context. /// The list of native modules. public IReadOnlyList CreateNativeModules(ReactContext reactContext) { return new List { new RNViewShotModule(reactContext), }; } /// /// Creates the list of JavaScript modules to register with the /// react instance. /// /// The list of JavaScript modules. public IReadOnlyList CreateJavaScriptModulesConfig() { return new List(0); } /// /// Creates the list of view managers that should be registered with /// the . /// /// The react application context. /// The list of view managers. public IReadOnlyList CreateViewManagers( ReactContext reactContext) { return new List(0); } } }