forked from react-native-progress-view/progress-view
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
35 lines (29 loc) · 766 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import React from 'react';
import {ViewProps,ImageSourcePropType} from 'react-native';
export type ProgressViewProps = ViewProps & {
/**
* The progress bar style.
*/
progressViewStyle?: 'default' | 'bar',
/**
* The progress value (between 0 and 1).
*/
progress?: number,
/**
* The tint color of the progress bar itself.
*/
progressTintColor?: string,
/**
* The tint color of the progress bar track.
*/
trackTintColor?: string,
/**
* A stretchable image to display as the progress bar.
*/
progressImage?: ImageSourcePropType,
/**
* A stretchable image to display behind the progress bar.
*/
trackImage?: ImageSourcePropType,
}
export class ProgressView extends React.Component<ProgressViewProps> {}