feat: transfer specs to ts and remove unnecessary props (#1865)

PR transfering Fabric specs to TS, removing unnecessary @ReactProp adnotations, unifying inheritance hierarchy across platforms, adding custom types for color and image source props so they are parsed by react-native.
This commit is contained in:
Wojciech Lewicki
2022-09-14 12:01:35 +02:00
committed by GitHub
parent f16a08f40f
commit ee6e5da195
112 changed files with 1644 additions and 2137 deletions
@@ -20,8 +20,6 @@ RCT_EXPORT_MODULE()
RCT_EXPORT_VIEW_PROPERTY(x, RNSVGLength *)
RCT_EXPORT_VIEW_PROPERTY(y, RNSVGLength *)
RCT_EXPORT_VIEW_PROPERTY(foreignObjectheight, RNSVGLength *)
RCT_EXPORT_VIEW_PROPERTY(foreignObjectwidth, RNSVGLength *)
RCT_CUSTOM_VIEW_PROPERTY(height, id, RNSVGForeignObject)
{
view.foreignObjectheight = [RCTConvert RNSVGLength:json];