From 77540d695b7c6e1ce2b45be8e05da30de6bb4f92 Mon Sep 17 00:00:00 2001 From: duguyihou Date: Thu, 25 Apr 2024 11:53:13 +1000 Subject: [PATCH] Update README.md (#123) --- README.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0bdd81c..9cbeb5f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -| grid | image processing | -|---|---| -| | | +

+

# react-native-turbo-image @@ -27,9 +27,8 @@ import TurboImage from "react-native-turbo-image"; ``` @@ -38,15 +37,15 @@ import TurboImage from "react-native-turbo-image"; | Prop | Type | Default | Description | | ------------------------- | -------- | ------- | ---------------------------------------------------------------------------------------------------- | | url | string | | The URL of the image | -| style | object | | The style of the image | | resizeMode | string | contain | The resize mode of the image | -| showActivityIndicator | boolean | false | Whether to show the UIActivityIndicatorView indicator when loading | -| base64Placeholder | string | | The base64 encoded placeholder image to show while loading | +| showActivityIndicator (iOS only) | boolean | false | Whether to show the indicator when loading | +| fadeDuration | number | 0.5(iOS) / 0.1(Android) | The transition duration of the image | +| borderRadius | number | | The border radius added to the image | +| rounded | boolean | false | Round the image into a circle | +| blur | number | | The blur radius of the blur filter added to the image | +| monochrome | number/ColorValue || | | blurhash | string | | The blurhash of the image to show while loading | | cachePolicy | string | memory | The cache policy of the image | -| fadeDuration | number | 0.5 | The transition duration of the image | -| rounded | boolean | false | Round the image into a circle | -| tintColor | string | | tint color | | onError | function | | The function to call when an error occurs. | | onSucess | function | | The function to call when the image is successfully loaded |