Deprecate Native plugins
Reviewed By: fabiomassimo Differential Revision: D29163280 fbshipit-source-id: 368e966bf86cc0de1ee0125a6b1166811ef6d2f0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1facf49bbf
commit
c83bd7900f
@@ -251,6 +251,7 @@ export default class Client extends EventEmitter {
|
|||||||
.filter(notNull)
|
.filter(notNull)
|
||||||
.map(([id, type, title]) => {
|
.map(([id, type, title]) => {
|
||||||
// TODO put this in another component, and make the "types" registerable
|
// TODO put this in another component, and make the "types" registerable
|
||||||
|
console.warn(`TableNative plugins are deprecated: ${id}`);
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'Table':
|
case 'Table':
|
||||||
return createTableNativePlugin(id, title);
|
return createTableNativePlugin(id, title);
|
||||||
|
|||||||
Reference in New Issue
Block a user