using ReactNative.Bridge; using ReactNative.Modules.Core; using ReactNative.UIManager; using System; using System.Collections.Generic; namespace Com.Reactlibrary.RNWinGif { /// /// 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 RNWinGifPackage : 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 Array.Empty(); } /// /// Creates the list of JavaScript modules to register with the /// react instance. /// /// The list of JavaScript modules. public IReadOnlyList CreateJavaScriptModulesConfig() { return Array.Empty(); } /// /// 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 { new ReactWinGifViewManager(), }; } } }