From 8340a384de453288cf5f6df05275bba629274e1c Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Thu, 21 May 2020 20:46:58 +0200 Subject: [PATCH] replace inline Image style props with link to the Image Style Props page (#1950) --- docs/image.md | 45 ++++----------------------------------------- 1 file changed, 4 insertions(+), 41 deletions(-) diff --git a/docs/image.md b/docs/image.md index 4f29d6ea3a7..9482e37b90b 100644 --- a/docs/image.md +++ b/docs/image.md @@ -232,50 +232,13 @@ dependencies { | ----- | -------- | | style | No | -- [Layout Props...](layout-props.md#props) +- [Image Style Props...](image-style-props#props) -- [Shadow Props...](shadow-props.md#props) +- [Layout Props...](layout-props#props) -- [Transforms...](transforms.md#props) +- [Shadow Props...](shadow-props#props) -- **`borderTopRightRadius`**: number - -- **`backfaceVisibility`**: enum('visible', 'hidden') - -- **`borderBottomLeftRadius`**: number - -- **`borderBottomRightRadius`**: number - -- **`borderColor`**: [color](colors.md) - -- **`borderRadius`**: number - -- **`borderTopLeftRadius`**: number - -- **`backgroundColor`**: [color](colors.md) - -- **`borderWidth`**: number - -- **`opacity`**: number - -- **`overflow`**: enum('visible', 'hidden') - -- **`resizeMode`**: Object.keys(ImageResizeMode) - -- **`tintColor`**: [color](colors.md) - - Changes the color of all the non-transparent pixels to the tintColor. - -- **`overlayColor`**: string (_Android_) - - When the image has rounded corners, specifying an overlayColor will cause the remaining space in the corners to be filled with a solid color. This is useful in cases which are not supported by the Android implementation of rounded corners: - - - Certain resize modes, such as 'contain' - - Animated GIFs - - A typical way to use this prop is with images displayed on a solid background and setting the `overlayColor` to the same color as the background. - - For details of how this works under the hood, see http://frescolib.org/docs/rounded-corners-and-circles.html +- [Transforms...](transforms#props) ---