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):