Rename native borderRadius prop to avoid UIView collision

RN/Expo already owns a borderRadius property on UIView (as a style prop),
so declaring `private var borderRadius` on ExpoView was rejected by Swift
("cannot override with a stored property"). Rename the bridge prop and Swift
property to `previewCornerRadius`; the public Trigger/ImageContextMenu API
keeps `borderRadius` and Root translates it at the bridge layer.

Also tighten `var start` to `let` in the SVG parser.

https://claude.ai/code/session_015REmux3R9uuEMMJUHxTyQT
This commit is contained in:
Claude
2026-04-19 07:28:44 +00:00
committed by Samuel Newman
parent ce686fae89
commit 2dc22c19b0
5 changed files with 18 additions and 15 deletions
@@ -169,7 +169,7 @@ private struct Tokenizer {
mutating func readNumber() -> CGFloat {
skipSeparators()
var start = index
let start = index
var sawDot = false
var sawE = false
while index < chars.count {