Skip to content

Commit 4005dc7

Browse files
authored
Change color types from string to ColorValue (#76)
1 parent 7a510e1 commit 4005dc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import {ViewProps, ImageSourcePropType} from 'react-native';
2+
import {ViewProps, ImageSourcePropType, ColorValue} from 'react-native';
33

44
export type ProgressViewProps = ViewProps & {
55
/**
@@ -15,12 +15,12 @@ export type ProgressViewProps = ViewProps & {
1515
/**
1616
* The tint color of the progress bar itself.
1717
*/
18-
progressTintColor?: string,
18+
progressTintColor?: ColorValue,
1919

2020
/**
2121
* The tint color of the progress bar track.
2222
*/
23-
trackTintColor?: string,
23+
trackTintColor?: ColorValue,
2424

2525
/**
2626
* A stretchable image to display as the progress bar.

0 commit comments

Comments
 (0)