I'm trying to implement the following effect by CAShapeLayer+UIBezierPath:
But the view/layer bounds.size is zero when createAndRegisterViewWithReactTag:viewName:props:
-> RCT_REMAP_VIEW_PROPERTY(borderRadius, layer.cornerRadius, CGFloat)
. Finally I hook RCTView's reactBridgeDidFinishTransaction
to add border radius...
Is there a better way to set borderRadius for only bottom-left and bottom-right corner of a RCTView?
I am also curious how to assign individual corner border radiuses.. not all four corners. Thanks!
This is possible now with borderBottomLeftRadius
etc :smile:
Great Works!
Most helpful comment
This is possible now with
borderBottomLeftRadius
etc :smile: