From e28bb6508a44d4f86b50a117d915ba356aba6bf5 Mon Sep 17 00:00:00 2001 From: Michael Qin <1mike12@gmail.com> Date: Mon, 20 Mar 2023 20:58:16 -0400 Subject: [PATCH] Update imagebackground.md update link for `ImageBackground` source code --- docs/imagebackground.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/imagebackground.md b/docs/imagebackground.md index 517f3bc2dbc..77da11bba28 100644 --- a/docs/imagebackground.md +++ b/docs/imagebackground.md @@ -5,7 +5,7 @@ title: ImageBackground A common feature request from developers familiar with the web is `background-image`. To handle this use case, you can use the `` component, which has the same props as ``, and add whatever children to it you would like to layer on top of it. -You might not want to use `` in some cases, since the implementation is basic. Refer to ``'s [source code](https://github.com/facebook/react-native/blob/master/Libraries/Image/ImageBackground.js) for more insight, and create your own custom component when needed. +You might not want to use `` in some cases, since the implementation is basic. Refer to ``'s [source code](https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/Image/ImageBackground.js) for more insight, and create your own custom component when needed. Note that you must specify some width and height style attributes.