Fix UIView borderWidths not rendering correctly
Reviewed By: majak Differential Revision: D4111231 fbshipit-source-id: f02c8f2ebda4c3e397d746ed5433afea539c9a88
This commit is contained in:
parent
1a75ba3c67
commit
95cb4ea752
|
@ -215,7 +215,7 @@ RCT_EXPORT_VIEW_PROPERTY(onMagicTap, RCTDirectEventBlock)
|
|||
RCT_CUSTOM_VIEW_PROPERTY(border##SIDE##Width, float, RCTView) \
|
||||
{ \
|
||||
if ([view respondsToSelector:@selector(setBorder##SIDE##Width:)]) { \
|
||||
view.border##SIDE##Width = json ? [RCTConvert float:json] : defaultView.border##SIDE##Width; \
|
||||
view.border##SIDE##Width = json ? [RCTConvert CGFloat:json] : defaultView.border##SIDE##Width; \
|
||||
} \
|
||||
} \
|
||||
RCT_CUSTOM_VIEW_PROPERTY(border##SIDE##Color, UIColor, RCTView) \
|
||||
|
|
Loading…
Reference in New Issue