package fr.aybadb.rnak;

import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import fr.aybadb.rnak.components.button.ButtonManager;
import fr.aybadb.rnak.components.floatingbutton.FabManager;
import fr.aybadb.rnak.components.tab.TabLayoutManager;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class RNAKPackage implements ReactPackage {
	@Override
	public List<NativeModule> createNativeModules(ReactApplicationContext reactApplicationContext) {
		return Collections.emptyList();
	}

	@Override
	public List<Class<? extends JavaScriptModule>> createJSModules() {
		return Collections.emptyList();
	}

	@Override
	public List<ViewManager> createViewManagers(ReactApplicationContext reactApplicationContext) {
		return Arrays.<ViewManager>asList(
				new ButtonManager(),
				new FabManager(),
				new TabLayoutManager()
		);
	}
}

@@ -62,59 +62,8 @@
 ge;%0A
-import com.facebook.react.bridge.JavaScriptModule;%0A
 impo
@@ -664,125 +664,8 @@
 %09%7D%0A%0A
-%09@Override%0A%09public List%3CClass%3C? extends JavaScriptModule%3E%3E createJSModules() %7B%0A%09%09return Collections.emptyList();%0A%09%7D%0A%0A
 %09@Ov

Remove deprecated `createJSModules` method