using System.Collections.Generic;
using ReactNative.Bridge;
using ReactNative.Modules.Core;
using ReactNative.UIManager;
namespace RNFileViewer
{
///
/// 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 RNFileViewerPackage : IReactPackage
{
public IReadOnlyList CreateNativeModules(ReactContext reactContext)
{
return new List
{
new RNFileViewerModule()
};
}
public IReadOnlyList CreateViewManagers(ReactContext reactContext)
{
return new List(0);
}
}
}