Deprecate Native plugins

Reviewed By: fabiomassimo

Differential Revision: D29163280

fbshipit-source-id: 368e966bf86cc0de1ee0125a6b1166811ef6d2f0
This commit is contained in:
Michel Weststrate
2021-06-17 03:17:05 -07:00
committed by Facebook GitHub Bot
parent 1facf49bbf
commit c83bd7900f

View File

@@ -251,6 +251,7 @@ export default class Client extends EventEmitter {
.filter(notNull)
.map(([id, type, title]) => {
// TODO put this in another component, and make the "types" registerable
console.warn(`TableNative plugins are deprecated: ${id}`);
switch (type) {
case 'Table':
return createTableNativePlugin(id, title);