Merge pull request #335 from morningdew830/master

Add missing tintColorSecondary prop type definition
This commit is contained in:
Markus Lindqvist 2025-08-13 13:49:09 +03:00 committed by GitHub
commit c866c018d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -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

7
index.d.ts vendored
View File

@ -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