Add reference link to React Native ImageBackground component (#5795)

* add reference link to React Native ImageBackground component

---------

Co-authored-by: Ruslan Semagin <pixel.365.24@gmail.com>
Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
Co-authored-by: Ruslan Semagin <53819609+pixel365@users.noreply.github.com>
Co-authored-by: Suman Kisku <sumankisku1@gmail.com>
feat/mobile
Juan Gerardo Eulufi Salazar 6 months ago committed by Kamran Ahmed
parent 15b0e33542
commit 03bf058dd7
  1. 6
      src/data/roadmaps/react-native/content/104-core-components/104-image-background.md

@ -35,4 +35,8 @@ const styles = StyleSheet.create({
export default App; export default App;
``` ```
In the above example, `source` prop is used to add the image URL, `style` prop for adding some custom styling, and `resizeMode` to define how the image should stretch to fill the available space. The `Text` component inside the `ImageBackground` is then rendered on top of the image. In the above example, `source` prop is used to add the image URL, `style` prop for adding some custom styling, and `resizeMode` to define how the image should stretch to fill the available space. The `Text` component inside the `ImageBackground` is then rendered on top of the image.
For more information and details, you can refer to the React Native docs:
- [Image Background - React Native](https://reactnative.dev/docs/imagebackground)

Loading…
Cancel
Save