From 8782a21a09f8e464b190d2c77f8ae5a876c2fde3 Mon Sep 17 00:00:00 2001 From: DADDOU Mohamed El Amine Date: Wed, 11 Jan 2023 12:22:58 +0100 Subject: [PATCH 1/2] add thumbStyle, thumbSize, trackHeight props to Readme.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 122e5302..c91a280f 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,9 @@ To use this library you need to ensure you are using the correct version of Reac | `inverted` | Reverses the direction of the slider.
Default value is false. | bool | No | | | `vertical` | Changes the orientation of the slider to vertical, if set to `true`.
Default value is false. | bool | No | Windows | | `thumbTintColor` | Color of the foreground switch grip. | [color](https://reactnative.dev/docs/colors) | No | Android | +| `thumbStyle` | Used to style the thumb component. | View.style | No | | +| `thumbSize` | The size (Height/width) of the thumb component | number | No | | +| `trackHeight` | Define the height of the track component (px). | number | No | | | `maximumTrackImage` | Assigns a maximum track image. Only static images are supported. The leftmost pixel of the image will be stretched to fill the track. | Image
.propTypes
.source | No | iOS | | `minimumTrackImage` | Assigns a minimum track image. Only static images are supported. The rightmost pixel of the image will be stretched to fill the track. | Image
.propTypes
.source | No | iOS | | `thumbImage` | Sets an image for the thumb. Only static images are supported. Needs to be a URI of a local or network image; base64-encoded SVG is not supported. | Image
.propTypes
.source | No | | From cadddf9eccda4b26b1c50db206a917e09802ad19 Mon Sep 17 00:00:00 2001 From: DADDOU Mohamed El Amine Date: Thu, 12 Jan 2023 15:16:44 +0100 Subject: [PATCH 2/2] Update README.md Co-authored-by: Taym Haddadi --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c91a280f..f2b5b682 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ To use this library you need to ensure you are using the correct version of Reac | `thumbTintColor` | Color of the foreground switch grip. | [color](https://reactnative.dev/docs/colors) | No | Android | | `thumbStyle` | Used to style the thumb component. | View.style | No | | | `thumbSize` | The size (Height/width) of the thumb component | number | No | | -| `trackHeight` | Define the height of the track component (px). | number | No | | +| `trackHeight` | Defines the height of the track component (px). | number | No | | | `maximumTrackImage` | Assigns a maximum track image. Only static images are supported. The leftmost pixel of the image will be stretched to fill the track. | Image
.propTypes
.source | No | iOS | | `minimumTrackImage` | Assigns a minimum track image. Only static images are supported. The rightmost pixel of the image will be stretched to fill the track. | Image
.propTypes
.source | No | iOS | | `thumbImage` | Sets an image for the thumb. Only static images are supported. Needs to be a URI of a local or network image; base64-encoded SVG is not supported. | Image
.propTypes
.source | No | |