mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-06 16:32:24 +00:00
fix: remove unnecessary methods provided by superclasses for accessibility (#2013)
PR removing methods that seem unnecessary for the accessibility props since they are provided by superclasses. It was necessary to update fabric updateProps method though, since we don't call super there. Also added proper type definitions and removed unnecessary casts.
This commit is contained in:
@@ -45,10 +45,6 @@ RCT_EXPORT_VIEW_PROPERTY(clipRule, RNSVGCGFCRule)
|
||||
RCT_EXPORT_VIEW_PROPERTY(responsible, BOOL)
|
||||
RCT_EXPORT_VIEW_PROPERTY(onLayout, RCTDirectEventBlock)
|
||||
|
||||
RCT_EXPORT_VIEW_PROPERTY(testID, NSString)
|
||||
RCT_EXPORT_VIEW_PROPERTY(accessibilityLabel, NSString)
|
||||
RCT_EXPORT_VIEW_PROPERTY(accessible, BOOL)
|
||||
|
||||
RCT_CUSTOM_SHADOW_PROPERTY(top, id, RNSVGNode) {}
|
||||
RCT_CUSTOM_SHADOW_PROPERTY(right, id, RNSVGNode) {}
|
||||
RCT_CUSTOM_SHADOW_PROPERTY(start, id, RNSVGNode) {}
|
||||
|
||||
Reference in New Issue
Block a user