Skip to content

Commit 3736a9c

Browse files
[docs] Fix typos in multiple docs (facebook#4292)
1 parent b5eb97a commit 3736a9c

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

docs/flexbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2581,7 +2581,7 @@ The `position` type of an element defines how it is positioned relative to eithe
25812581

25822582
- `relative` (**default value**) By default, an element is positioned relatively. This means an element is positioned according to the normal flow of the layout, and then offset relative to that position based on the values of `top`, `right`, `bottom`, and `left`. The offset does not affect the position of any sibling or parent elements.
25832583

2584-
- `absolute` When positioned absolutely, an element doesn't take part in the normal layout flow. It is instead laid out independent of its siblings. The position is determined based on the `top`, `right`, `bottom`, and `left` values. These values will posistion the element relative to its containing block.
2584+
- `absolute` When positioned absolutely, an element doesn't take part in the normal layout flow. It is instead laid out independent of its siblings. The position is determined based on the `top`, `right`, `bottom`, and `left` values. These values will position the element relative to its containing block.
25852585

25862586
- `static` When positioned statically, an element is positioned according to the normal flow of layout, and will ignore the `top`, `right`, `bottom`, and `left` values. This `position` will also cause the element to not form a containing block for absolute descendants, unless some other superceding style prop is present (e.g. `transform`). This allows `absolute` elements to be positioned to something that is not their parent. Note that **`static` is only available on the New Architecture**.
25872587

docs/image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ Resolves an asset reference into an object which has the properties `uri`, `scal
589589

590590
### ImageCacheEnum <div class="label ios">iOS</div>
591591

592-
Enum which can be used to set the cache handling or stategy for the potentially cached responses.
592+
Enum which can be used to set the cache handling or strategy for the potentially cached responses.
593593

594594
| Type | Default |
595595
| ------------------------------------------------------------------ | ----------- |

docs/stylesheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default App;
107107
### `create()`
108108

109109
```tsx
110-
static create(styles: Object extends Record<string, ViewStyle | ImageStyle | TextSyle>): Object;
110+
static create(styles: Object extends Record<string, ViewStyle | ImageStyle | TextStyle>): Object;
111111
```
112112

113113
An identity function for creating styles. The main practical benefit of creating styles inside `StyleSheet.create()` is static type checking against native style properties.
@@ -117,7 +117,7 @@ An identity function for creating styles. The main practical benefit of creating
117117
### `flatten()`
118118

119119
```tsx
120-
static flatten(style: Array<Object extends Record<string, ViewStyle | ImageStyle | TextSyle>>): Object;
120+
static flatten(style: Array<Object extends Record<string, ViewStyle | ImageStyle | TextStyle>>): Object;
121121
```
122122
123123
Flattens an array of style objects, into one aggregated style object.

website/versioned_docs/version-0.70/image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ Resolves an asset reference into an object which has the properties `uri`, `widt
556556

557557
### ImageCacheEnum <div class="label ios">iOS</div>
558558

559-
Enum which can be used to set the cache handling or stategy for the potentially cached responses.
559+
Enum which can be used to set the cache handling or strategy for the potentially cached responses.
560560

561561
| Type | Default |
562562
| ------------------------------------------------------------------ | ----------- |

website/versioned_docs/version-0.71/image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ Resolves an asset reference into an object which has the properties `uri`, `scal
661661

662662
### ImageCacheEnum <div class="label ios">iOS</div>
663663

664-
Enum which can be used to set the cache handling or stategy for the potentially cached responses.
664+
Enum which can be used to set the cache handling or strategy for the potentially cached responses.
665665

666666
| Type | Default |
667667
| ------------------------------------------------------------------ | ----------- |

website/versioned_docs/version-0.72/image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ Resolves an asset reference into an object which has the properties `uri`, `scal
569569

570570
### ImageCacheEnum <div class="label ios">iOS</div>
571571

572-
Enum which can be used to set the cache handling or stategy for the potentially cached responses.
572+
Enum which can be used to set the cache handling or strategy for the potentially cached responses.
573573

574574
| Type | Default |
575575
| ------------------------------------------------------------------ | ----------- |

website/versioned_docs/version-0.73/image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ Resolves an asset reference into an object which has the properties `uri`, `scal
569569

570570
### ImageCacheEnum <div class="label ios">iOS</div>
571571

572-
Enum which can be used to set the cache handling or stategy for the potentially cached responses.
572+
Enum which can be used to set the cache handling or strategy for the potentially cached responses.
573573

574574
| Type | Default |
575575
| ------------------------------------------------------------------ | ----------- |

website/versioned_docs/version-0.74/image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ Resolves an asset reference into an object which has the properties `uri`, `scal
569569

570570
### ImageCacheEnum <div class="label ios">iOS</div>
571571

572-
Enum which can be used to set the cache handling or stategy for the potentially cached responses.
572+
Enum which can be used to set the cache handling or strategy for the potentially cached responses.
573573

574574
| Type | Default |
575575
| ------------------------------------------------------------------ | ----------- |

website/versioned_docs/version-0.75/image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ Resolves an asset reference into an object which has the properties `uri`, `scal
569569

570570
### ImageCacheEnum <div class="label ios">iOS</div>
571571

572-
Enum which can be used to set the cache handling or stategy for the potentially cached responses.
572+
Enum which can be used to set the cache handling or strategy for the potentially cached responses.
573573

574574
| Type | Default |
575575
| ------------------------------------------------------------------ | ----------- |

website/versioned_docs/version-0.75/stylesheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default App;
102102
### `create()`
103103

104104
```tsx
105-
static create(styles: Object extends Record<string, ViewStyle | ImageStyle | TextSyle>): Object;
105+
static create(styles: Object extends Record<string, ViewStyle | ImageStyle | TextStyle>): Object;
106106
```
107107

108108
An identity function for creating styles. The main practical benefit of creating styles inside `StyleSheet.create()` is static type checking against native style properties.
@@ -112,7 +112,7 @@ An identity function for creating styles. The main practical benefit of creating
112112
### `flatten()`
113113

114114
```tsx
115-
static flatten(style: Array<Object extends Record<string, ViewStyle | ImageStyle | TextSyle>>): Object;
115+
static flatten(style: Array<Object extends Record<string, ViewStyle | ImageStyle | TextStyle>>): Object;
116116
```
117117
118118
Flattens an array of style objects, into one aggregated style object.

0 commit comments

Comments
 (0)