From 75fd932dff99a3ff2c4982f4a6c48913d1c281ee Mon Sep 17 00:00:00 2001 From: D N <4661784+retyui@users.noreply.github.com> Date: Tue, 8 Sep 2026 21:38:54 +0200 Subject: [PATCH] `experimental_*` prefix of backgroundPosition was remove in 0.88.x --- .../version-0.87/view-style-props.md | 131 ++++++++++-------- 1 file changed, 70 insertions(+), 61 deletions(-) diff --git a/website/versioned_docs/version-0.87/view-style-props.md b/website/versioned_docs/version-0.87/view-style-props.md index fbe71ec81e7..2828c681ff8 100644 --- a/website/versioned_docs/version-0.87/view-style-props.md +++ b/website/versioned_docs/version-0.87/view-style-props.md @@ -118,67 +118,6 @@ More complex examples of usage can be found in the RNTester app (with `PlatformC --- -### `backgroundPosition` - -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. - -```tsx - -``` - -| Type | -| --------------------------------------------------------------------------------------- | -| string \| array of objects `{top: string, left: string, right: string, bottom: string}` | - ---- - -### `backgroundRepeat` - -Controls whether the background gradient is repeated, and how. This works together with `backgroundImage` to tile gradients across the view. - -```tsx - -``` - -| Type | -| -------------------------------------------------------------------------------------------------- | -| enum(`'repeat'`, `'space'`, `'round'`, `'no-repeat'`) \| array of objects `{x: string, y: string}` | - ---- - -### `backgroundSize` - -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. - -```tsx - -``` - -| Type | -| --------------------------------------------------- | -| string \| array of objects `{x: number, y: number}` | - ---- - ### `borderBottomColor` | Type | @@ -457,6 +396,76 @@ Sets the elevation of a view, using Android's underlying [elevation API](https:/ --- +### `experimental_backgroundPosition` + + + +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. + +```tsx + +``` + +| Type | +| --------------------------------------------------------------------------------------- | +| string \| array of objects `{top: string, left: string, right: string, bottom: string}` | + +--- + +### `experimental_backgroundRepeat` + + + +Controls whether the background gradient is repeated, and how. This works together with `experimental_backgroundImage` to tile gradients across the view. + +```tsx + +``` + +| Type | +| -------------------------------------------------------------------------------------------------- | +| enum(`'repeat'`, `'space'`, `'round'`, `'no-repeat'`) \| array of objects `{x: string, y: string}` | + +--- + +### `experimental_backgroundSize` + + + +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. + +```tsx + +``` + +| Type | +| --------------------------------------------------- | +| string \| array of objects `{x: number, y: number}` | + +--- + ### `filter` :::note