Skip to content

Commit ab48315

Browse files
authored
docs: Fix typo (relay -> rely) (#8870)
## Summary I noticed that there were multiple places where `relay on withTiming` was used in the docs, while the intended meaning was likely `rely on withTiming`. ## Test plan - [Relay](https://www.merriam-webster.com/dictionary/relay) - [Rely](https://www.merriam-webster.com/dictionary/rely)
1 parent f9658a1 commit ab48315

File tree

4 files changed

+40
-40
lines changed

4 files changed

+40
-40
lines changed

docs/docs-reanimated/docs/layout-animations/entering-exiting-animations.mdx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ These are the initial values for each animation that can be customized with the
113113

114114
#### Time-based <Optional/>
115115

116-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
116+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
117117

118118
```javascript
119119
FadeOutLeft.duration(500).easing(Easing.ease);
@@ -127,7 +127,7 @@ Time-based modifiers have no effect when `.springify()` is used.
127127

128128
#### Spring-based <Optional/>
129129

130-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
130+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
131131

132132
```javascript
133133
FadeInUp.springify()
@@ -366,7 +366,7 @@ These are the initial values for each animation that can be customized with the
366366

367367
#### Time-based <Optional/>
368368

369-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
369+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
370370

371371
```javascript
372372
FlipOutYLeft.duration(500).easing(Easing.ease);
@@ -380,7 +380,7 @@ Time-based modifiers have no effect when `.springify()` is used.
380380

381381
#### Spring-based <Optional/>
382382

383-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
383+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
384384

385385
```javascript
386386
FlipInXUp.springify()
@@ -493,7 +493,7 @@ These are the initial values for each animation that can be customized with the
493493

494494
#### Time-based <Optional/>
495495

496-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
496+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
497497

498498
```javascript
499499
LightSpeedOutLeft.duration(500).easing(Easing.ease);
@@ -507,7 +507,7 @@ Time-based modifiers have no effect when `.springify()` is used.
507507

508508
#### Spring-based <Optional/>
509509

510-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
510+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
511511

512512
```javascript
513513
LightSpeedInLeft.springify()
@@ -612,7 +612,7 @@ These are the initial values for each animation that can be customized with the
612612

613613
#### Time-based <Optional/>
614614

615-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
615+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
616616

617617
```javascript
618618
PinwheelOut.duration(500).easing(Easing.ease);
@@ -626,7 +626,7 @@ Time-based modifiers have no effect when `.springify()` is used.
626626

627627
#### Spring-based <Optional/>
628628

629-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
629+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
630630

631631
```javascript
632632
PinwheelIn.springify()
@@ -737,7 +737,7 @@ These are the initial values for each animation that can be customized with the
737737

738738
#### Time-based <Optional/>
739739

740-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
740+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
741741

742742
```javascript
743743
RollOutLeft.duration(500).easing(Easing.ease);
@@ -751,7 +751,7 @@ Time-based modifiers have no effect when `.springify()` is used.
751751

752752
#### Spring-based <Optional/>
753753

754-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
754+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
755755

756756
```javascript
757757
RollInLeft.springify()
@@ -874,7 +874,7 @@ These are the initial values for each animation that can be customized with the
874874

875875
#### Time-based <Optional/>
876876

877-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
877+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
878878

879879
```javascript
880880
RotateOutDownRight.duration(500).easing(Easing.ease);
@@ -888,7 +888,7 @@ Time-based modifiers have no effect when `.springify()` is used.
888888

889889
#### Spring-based <Optional/>
890890

891-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
891+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
892892

893893
```javascript
894894
RotateInUpLeft.springify()
@@ -1011,7 +1011,7 @@ These are the initial values for each animation that can be customized with the
10111011

10121012
#### Time-based <Optional/>
10131013

1014-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
1014+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
10151015

10161016
```javascript
10171017
SlideOutLeft.duration(500).easing(Easing.ease);
@@ -1025,7 +1025,7 @@ Time-based modifiers have no effect when `.springify()` is used.
10251025

10261026
#### Spring-based <Optional/>
10271027

1028-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
1028+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
10291029

10301030
```javascript
10311031
SlideInUp.springify()
@@ -1135,7 +1135,7 @@ These are the initial values for each animation that can be customized with the
11351135

11361136
#### Time-based <Optional/>
11371137

1138-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
1138+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
11391139

11401140
```javascript
11411141
StretchOutX.duration(500).easing(Easing.ease);
@@ -1149,7 +1149,7 @@ Time-based modifiers have no effect when `.springify()` is used.
11491149

11501150
#### Spring-based <Optional/>
11511151

1152-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
1152+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
11531153

11541154
```javascript
11551155
StretchInX.springify()
@@ -1294,7 +1294,7 @@ These are the initial values for each animation that can be customized with the
12941294

12951295
#### Time-based <Optional/>
12961296

1297-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
1297+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
12981298

12991299
```javascript
13001300
ZoomOutLeft.duration(500).easing(Easing.ease);
@@ -1308,7 +1308,7 @@ Time-based modifiers have no effect when `.springify()` is used.
13081308

13091309
#### Spring-based <Optional/>
13101310

1311-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
1311+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
13121312

13131313
```javascript
13141314
ZoomInRotate.springify()

docs/docs-reanimated/docs/layout-animations/layout-transitions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function App() {
3333

3434
#### Easing <Optional/>
3535

36-
Easing modifiers are time-based modifiers that relay on [`withTiming`](/docs/animations/withTiming) function.
36+
Easing modifiers are time-based modifiers that rely on [`withTiming`](/docs/animations/withTiming) function.
3737

3838
```javascript
3939
LinearTransition.easing(Easing.ease);
@@ -47,7 +47,7 @@ The `.easing(...)` modifiers have no effect when `.springify()` is used.
4747

4848
#### Spring-based <Optional/>
4949

50-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
50+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
5151
Just as in `withSpring` config, spring-based modifiers can be physics-based (have `mass` and `damping` modifiers) or duration-based (have `duration` and `dampingRatio` modifiers).
5252

5353
:::info

docs/docs-reanimated/versioned_docs/version-3.x/layout-animations/entering-exiting-animations.mdx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ These are the initial values for each animation that can be customized with the
113113

114114
#### Time-based <Optional/>
115115

116-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
116+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
117117

118118
```javascript
119119
FadeOutLeft.duration(500).easing(Easing.ease);
@@ -127,7 +127,7 @@ Time-based modifiers have no effect when `.springify()` is used.
127127

128128
#### Spring-based <Optional/>
129129

130-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
130+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
131131

132132
```javascript
133133
FadeInUp.springify()
@@ -368,7 +368,7 @@ These are the initial values for each animation that can be customized with the
368368

369369
#### Time-based <Optional/>
370370

371-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
371+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
372372

373373
```javascript
374374
FlipOutYLeft.duration(500).easing(Easing.ease);
@@ -382,7 +382,7 @@ Time-based modifiers have no effect when `.springify()` is used.
382382

383383
#### Spring-based <Optional/>
384384

385-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
385+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
386386

387387
```javascript
388388
FlipInXUp.springify()
@@ -497,7 +497,7 @@ These are the initial values for each animation that can be customized with the
497497

498498
#### Time-based <Optional/>
499499

500-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
500+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
501501

502502
```javascript
503503
LightSpeedOutLeft.duration(500).easing(Easing.ease);
@@ -511,7 +511,7 @@ Time-based modifiers have no effect when `.springify()` is used.
511511

512512
#### Spring-based <Optional/>
513513

514-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
514+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
515515

516516
```javascript
517517
LightSpeedInLeft.springify()
@@ -618,7 +618,7 @@ These are the initial values for each animation that can be customized with the
618618

619619
#### Time-based <Optional/>
620620

621-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
621+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
622622

623623
```javascript
624624
PinwheelOut.duration(500).easing(Easing.ease);
@@ -632,7 +632,7 @@ Time-based modifiers have no effect when `.springify()` is used.
632632

633633
#### Spring-based <Optional/>
634634

635-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
635+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
636636

637637
```javascript
638638
PinwheelIn.springify()
@@ -745,7 +745,7 @@ These are the initial values for each animation that can be customized with the
745745

746746
#### Time-based <Optional/>
747747

748-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
748+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
749749

750750
```javascript
751751
RollOutLeft.duration(500).easing(Easing.ease);
@@ -759,7 +759,7 @@ Time-based modifiers have no effect when `.springify()` is used.
759759

760760
#### Spring-based <Optional/>
761761

762-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
762+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
763763

764764
```javascript
765765
RollInLeft.springify()
@@ -884,7 +884,7 @@ These are the initial values for each animation that can be customized with the
884884

885885
#### Time-based <Optional/>
886886

887-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
887+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
888888

889889
```javascript
890890
RotateOutDownRight.duration(500).easing(Easing.ease);
@@ -898,7 +898,7 @@ Time-based modifiers have no effect when `.springify()` is used.
898898

899899
#### Spring-based <Optional/>
900900

901-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
901+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
902902

903903
```javascript
904904
RotateInUpLeft.springify()
@@ -1023,7 +1023,7 @@ These are the initial values for each animation that can be customized with the
10231023

10241024
#### Time-based <Optional/>
10251025

1026-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
1026+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
10271027

10281028
```javascript
10291029
SlideOutLeft.duration(500).easing(Easing.ease);
@@ -1037,7 +1037,7 @@ Time-based modifiers have no effect when `.springify()` is used.
10371037

10381038
#### Spring-based <Optional/>
10391039

1040-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
1040+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
10411041

10421042
```javascript
10431043
SlideInUp.springify()
@@ -1149,7 +1149,7 @@ These are the initial values for each animation that can be customized with the
11491149

11501150
#### Time-based <Optional/>
11511151

1152-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
1152+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
11531153

11541154
```javascript
11551155
StretchOutX.duration(500).easing(Easing.ease);
@@ -1163,7 +1163,7 @@ Time-based modifiers have no effect when `.springify()` is used.
11631163

11641164
#### Spring-based <Optional/>
11651165

1166-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
1166+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
11671167

11681168
```javascript
11691169
StretchInX.springify()
@@ -1310,7 +1310,7 @@ These are the initial values for each animation that can be customized with the
13101310

13111311
#### Time-based <Optional/>
13121312

1313-
Time-based modifiers relay on [`withTiming`](/docs/animations/withTiming) function.
1313+
Time-based modifiers rely on [`withTiming`](/docs/animations/withTiming) function.
13141314

13151315
```javascript
13161316
ZoomOutLeft.duration(500).easing(Easing.ease);
@@ -1324,7 +1324,7 @@ Time-based modifiers have no effect when `.springify()` is used.
13241324

13251325
#### Spring-based <Optional/>
13261326

1327-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
1327+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
13281328

13291329
```javascript
13301330
ZoomInRotate.springify()

docs/docs-reanimated/versioned_docs/version-3.x/layout-animations/layout-transitions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function App() {
3333

3434
#### Easing <Optional/>
3535

36-
Easing modifiers are time-based modifiers that relay on [`withTiming`](/docs/animations/withTiming) function.
36+
Easing modifiers are time-based modifiers that rely on [`withTiming`](/docs/animations/withTiming) function.
3737

3838
```javascript
3939
LinearTransition.easing(Easing.ease);
@@ -47,7 +47,7 @@ The `.easing(...)` modifiers have no effect when `.springify()` is used.
4747

4848
#### Spring-based <Optional/>
4949

50-
Spring-based modifiers relay on [`withSpring`](/docs/animations/withSpring) function.
50+
Spring-based modifiers rely on [`withSpring`](/docs/animations/withSpring) function.
5151
Just as in `withSpring` config, spring-based modifiers can be physics-based (have `mass` and `damping` modifiers) or duration-based (have `duration` and `dampingRatio` modifiers).
5252

5353
:::info

0 commit comments

Comments
 (0)