Skip to content

Commit 66b5cbd

Browse files
committed
Add Style borderEndEndRadiusborderEndStartRadius borderStartEndRadius borderStartStartRadius props
facebook/react-native@4ae4984
1 parent a12bade commit 66b5cbd

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

src/apis/Style.res

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,17 @@ type style = {
217217
borderColor?: Color.t,
218218
borderCurve?: borderCurve,
219219
borderEndColor?: Color.t,
220+
borderEndEndRadius?: float,
221+
borderEndStartRadius?: float,
220222
borderEndWidth?: float,
221223
borderLeftColor?: Color.t,
222224
borderLeftWidth?: float,
223225
borderRadius?: float,
224226
borderRightColor?: Color.t,
225227
borderRightWidth?: float,
226228
borderStartColor?: Color.t,
229+
borderStartEndRadius?: float,
230+
borderStartStartRadius?: float,
227231
borderStartWidth?: float,
228232
borderStyle?: borderStyle,
229233
borderTopColor?: Color.t,
@@ -355,13 +359,17 @@ external style: (
355359
~borderColor: Color.t=?,
356360
~borderCurve: borderCurve=?,
357361
~borderEndColor: Color.t=?,
362+
~borderEndEndRadius: float=?,
363+
~borderEndStartRadius: float=?,
358364
~borderEndWidth: float=?,
359365
~borderLeftColor: Color.t=?,
360366
~borderLeftWidth: float=?,
361367
~borderRadius: float=?,
362368
~borderRightColor: Color.t=?,
363369
~borderRightWidth: float=?,
364370
~borderStartColor: Color.t=?,
371+
~borderStartEndRadius: float=?,
372+
~borderStartStartRadius: float=?,
365373
~borderStartWidth: float=?,
366374
~borderStyle: borderStyle=?,
367375
~borderTopColor: Color.t=?,
@@ -459,13 +467,17 @@ external viewStyle: (
459467
~borderColor: Color.t=?,
460468
~borderCurve: borderCurve=?,
461469
~borderEndColor: Color.t=?,
470+
~borderEndEndRadius: float=?,
471+
~borderEndStartRadius: float=?,
462472
~borderEndWidth: float=?,
463473
~borderLeftColor: Color.t=?,
464474
~borderLeftWidth: float=?,
465475
~borderRadius: float=?,
466476
~borderRightColor: Color.t=?,
467477
~borderRightWidth: float=?,
468478
~borderStartColor: Color.t=?,
479+
~borderStartEndRadius: float=?,
480+
~borderStartStartRadius: float=?,
469481
~borderStartWidth: float=?,
470482
~borderStyle: borderStyle=?,
471483
~borderTopColor: Color.t=?,
@@ -584,13 +596,17 @@ external textStyle: (
584596
~borderColor: Color.t=?,
585597
~borderCurve: borderCurve=?,
586598
~borderEndColor: Color.t=?,
599+
~borderEndEndRadius: float=?,
600+
~borderEndStartRadius: float=?,
587601
~borderEndWidth: float=?,
588602
~borderLeftColor: Color.t=?,
589603
~borderLeftWidth: float=?,
590604
~borderRadius: float=?,
591605
~borderRightColor: Color.t=?,
592606
~borderRightWidth: float=?,
593607
~borderStartColor: Color.t=?,
608+
~borderStartEndRadius: float=?,
609+
~borderStartStartRadius: float=?,
594610
~borderStartWidth: float=?,
595611
~borderStyle: borderStyle=?,
596612
~borderTopColor: Color.t=?,
@@ -693,13 +709,17 @@ external imageStyle: (
693709
~borderColor: Color.t=?,
694710
~borderCurve: borderCurve=?,
695711
~borderEndColor: Color.t=?,
712+
~borderEndEndRadius: float=?,
713+
~borderEndStartRadius: float=?,
696714
~borderEndWidth: float=?,
697715
~borderLeftColor: Color.t=?,
698716
~borderLeftWidth: float=?,
699717
~borderRadius: float=?,
700718
~borderRightColor: Color.t=?,
701719
~borderRightWidth: float=?,
702720
~borderStartColor: Color.t=?,
721+
~borderStartEndRadius: float=?,
722+
~borderStartStartRadius: float=?,
703723
~borderStartWidth: float=?,
704724
~borderStyle: borderStyle=?,
705725
~borderTopColor: Color.t=?,

src/apis/Style.resi

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,17 @@ type style = {
205205
borderColor?: Color.t,
206206
borderCurve?: borderCurve,
207207
borderEndColor?: Color.t,
208+
borderEndEndRadius?: float,
209+
borderEndStartRadius?: float,
208210
borderEndWidth?: float,
209211
borderLeftColor?: Color.t,
210212
borderLeftWidth?: float,
211213
borderRadius?: float,
212214
borderRightColor?: Color.t,
213215
borderRightWidth?: float,
214216
borderStartColor?: Color.t,
217+
borderStartEndRadius?: float,
218+
borderStartStartRadius?: float,
215219
borderStartWidth?: float,
216220
borderStyle?: borderStyle,
217221
borderTopColor?: Color.t,
@@ -343,13 +347,17 @@ external style: (
343347
~borderColor: Color.t=?,
344348
~borderCurve: borderCurve=?,
345349
~borderEndColor: Color.t=?,
350+
~borderEndEndRadius: float=?,
351+
~borderEndStartRadius: float=?,
346352
~borderEndWidth: float=?,
347353
~borderLeftColor: Color.t=?,
348354
~borderLeftWidth: float=?,
349355
~borderRadius: float=?,
350356
~borderRightColor: Color.t=?,
351357
~borderRightWidth: float=?,
352358
~borderStartColor: Color.t=?,
359+
~borderStartEndRadius: float=?,
360+
~borderStartStartRadius: float=?,
353361
~borderStartWidth: float=?,
354362
~borderStyle: borderStyle=?,
355363
~borderTopColor: Color.t=?,
@@ -447,13 +455,17 @@ external viewStyle: (
447455
~borderColor: Color.t=?,
448456
~borderCurve: borderCurve=?,
449457
~borderEndColor: Color.t=?,
458+
~borderEndEndRadius: float=?,
459+
~borderEndStartRadius: float=?,
450460
~borderEndWidth: float=?,
451461
~borderLeftColor: Color.t=?,
452462
~borderLeftWidth: float=?,
453463
~borderRadius: float=?,
454464
~borderRightColor: Color.t=?,
455465
~borderRightWidth: float=?,
456466
~borderStartColor: Color.t=?,
467+
~borderStartEndRadius: float=?,
468+
~borderStartStartRadius: float=?,
457469
~borderStartWidth: float=?,
458470
~borderStyle: borderStyle=?,
459471
~borderTopColor: Color.t=?,
@@ -572,13 +584,17 @@ external textStyle: (
572584
~borderColor: Color.t=?,
573585
~borderCurve: borderCurve=?,
574586
~borderEndColor: Color.t=?,
587+
~borderEndEndRadius: float=?,
588+
~borderEndStartRadius: float=?,
575589
~borderEndWidth: float=?,
576590
~borderLeftColor: Color.t=?,
577591
~borderLeftWidth: float=?,
578592
~borderRadius: float=?,
579593
~borderRightColor: Color.t=?,
580594
~borderRightWidth: float=?,
581595
~borderStartColor: Color.t=?,
596+
~borderStartEndRadius: float=?,
597+
~borderStartStartRadius: float=?,
582598
~borderStartWidth: float=?,
583599
~borderStyle: borderStyle=?,
584600
~borderTopColor: Color.t=?,
@@ -681,13 +697,17 @@ external imageStyle: (
681697
~borderColor: Color.t=?,
682698
~borderCurve: borderCurve=?,
683699
~borderEndColor: Color.t=?,
700+
~borderEndEndRadius: float=?,
701+
~borderEndStartRadius: float=?,
684702
~borderEndWidth: float=?,
685703
~borderLeftColor: Color.t=?,
686704
~borderLeftWidth: float=?,
687705
~borderRadius: float=?,
688706
~borderRightColor: Color.t=?,
689707
~borderRightWidth: float=?,
690708
~borderStartColor: Color.t=?,
709+
~borderStartEndRadius: float=?,
710+
~borderStartStartRadius: float=?,
691711
~borderStartWidth: float=?,
692712
~borderStyle: borderStyle=?,
693713
~borderTopColor: Color.t=?,

0 commit comments

Comments
 (0)