mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ed61a3b5f9
Summary: In order to generate the view configs, we need to know the name of the component used in: ``` ReactNativeViewConfigRegistry.register( 'RCTNativeComponent', // <------- this name () => BooleanPropNativeComponentViewConfig, ); ``` For this, we'll use `component.name` in the schema (see fixture updates). Doing this would break the native code we generate though, since that code has the RCT stripped. So this diff adds support to mirror the native stripping of 'RCT' for generated native code Reviewed By: TheSavior Differential Revision: D15320422 fbshipit-source-id: be1ab9964078df2c7bc6e41462776f00b94b104f