You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/versioned_docs/version-0.87/view-style-props.md
+70-61Lines changed: 70 additions & 61 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,67 +118,6 @@ More complex examples of usage can be found in the RNTester app (with `PlatformC
118
118
119
119
---
120
120
121
-
### `backgroundPosition`
122
-
123
-
Controls where the background gradient is placed inside the view. This is useful when `backgroundImage` is set, and you want to offset or center it instead of filling the full area.
Controls the size of the background gradient. This is most useful when `backgroundImage` is set and the gradient should not fill the entire view by default.
| string \| array of objects `{x: number, y: number}`|
179
-
180
-
---
181
-
182
121
### `borderBottomColor`
183
122
184
123
| Type |
@@ -457,6 +396,76 @@ Sets the elevation of a view, using Android's underlying [elevation API](https:/
457
396
458
397
---
459
398
399
+
### `experimental_backgroundPosition`
400
+
401
+
<ExperimentalAPIWarning />
402
+
403
+
Controls where the background gradient is placed inside the view. This is useful when `experimental_backgroundImage` is set, and you want to offset or center it instead of filling the full area.
Controls whether the background gradient is repeated, and how. This works together with `experimental_backgroundImage` to tile gradients across the view.
Controls the size of the background gradient. This is most useful when `experimental_backgroundImage` is set and the gradient should not fill the entire view by default.
0 commit comments