From dea519829978f40a09598f09c6342623efff500e Mon Sep 17 00:00:00 2001 From: D N <4661784+retyui@users.noreply.github.com> Date: Mon, 27 Jul 2026 20:48:25 +0200 Subject: [PATCH] feat(style): remove experimental_ prefix from backgroundImage RN 0.87.x --- docs/view-style-props.md | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/docs/view-style-props.md b/docs/view-style-props.md index 562aa837ad5..3032bea26a6 100644 --- a/docs/view-style-props.md +++ b/docs/view-style-props.md @@ -73,20 +73,38 @@ export default App; --- -### `experimental_backgroundImage` +### `backgroundImage` - - -`experimental_backgroundImage` provides the ability to draw a [`linear-gradient()`](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/gradient/linear-gradient) ([0.76.x+](https://github.com/facebook/react-native/blob/main/CHANGELOG-0.7x.md#v0760)) and [`radial-gradient()`](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/gradient/radial-gradient) ([0.80.x+](https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0800)) using a web-like syntax. +`backgroundImage` provides the ability to draw a [`linear-gradient()`](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/gradient/linear-gradient) and [`radial-gradient()`](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/gradient/radial-gradient) using a web-like syntax. ```tsx // Simple usage: - - + + + + +// Also with PlatformColor: + ``` More complex examples of usage can be found in the RNTester app (with `PlatformColor` supports):