Add inferfaceOnly option to CodegenSchema

Summary: In some cases the implementation for native modules are more advanced and we cannot currently generate some of the files. We've decided in these cases to only generate the props + events for now, so this flag `interfaceOnly` will only generate those files 👍

Reviewed By: TheSavior

Differential Revision: D14295980

fbshipit-source-id: 1790825143206a84469015e08958bf6f00ffde52
This commit is contained in:
Rick Hanlon
2019-03-05 11:48:38 -08:00
committed by Facebook Github Bot
parent b7b8836a7f
commit f72776e8dc
14 changed files with 282 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
#import <react/components/INTERFACE_ONLY/ComponentDescriptors.h>
#import <react/components/BOOLEAN_PROP/ComponentDescriptors.h>
#import <react/components/STRING_PROP/ComponentDescriptors.h>
#import <react/components/INTEGER_PROPS/ComponentDescriptors.h>