From 42e2e5085f2b2b59b5d02182195abbdfe60d5ccb Mon Sep 17 00:00:00 2001 From: morningdew Date: Fri, 21 Feb 2025 02:31:43 -0600 Subject: [PATCH 1/2] Add missing tintColorSecondary prop type --- index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.d.ts b/index.d.ts index f2d219c..45cfb1d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -127,6 +127,13 @@ declare module 'react-native-circular-progress' { */ tintColor?: string; + /** + * Secondary color of the progress line + * + * @type {string} + * @default 'black' + */ + tintColorSecondary?: string; /** * Current progress / tint transparency From 8f37892dae1a928df158610440b8bbdb9609dc9a Mon Sep 17 00:00:00 2001 From: morningdew Date: Fri, 21 Feb 2025 02:34:18 -0600 Subject: [PATCH 2/2] Add tintColorSecondary prop to README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a8f6d88..7194bae 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ width | number | **required** | Thick backgroundWidth | number | width | Thickness of background circle fill | number (0-100) | 0 | Current progress / fill tintColor | string | black | Color of the progress line +tintColorSecondary | string | black | Secondary color of the progress line tintTransparency | boolean | true | Transparency of the progress line backgroundColor | string | | If unspecified, no background line will be rendered rotation | number (-360 - 360) | 90 | Angle from which the progress starts from