1.0.4 • Published 6 months ago
@types/react-native-animated-progress v1.0.4
Installation
npm install --save @types/react-native-animated-progress
Summary
This package contains type definitions for react-native-animated-progress (https://github.com/kcotias/react-native-animated-progress).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-animated-progress.
index.d.ts
// Type definitions for react-native-animated-progress 1.0
// Project: https://github.com/kcotias/react-native-animated-progress
// Definitions by: tup1tsa <https://github.com/tup1tsa>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { FC } from 'react';
export interface AnimatedProgressProps {
/* Integer - From 0 to 100 (Default - 0).
* Chooses the point where the progress should animate to,
* based on the progress bar width.
*/
progress?: number;
/** (Default - 1100) */
progressDuration?: number;
/* Integer (Default - 2)
* Sets the height of the bar.
*/
height?: number;
/* (Default - none)
* Sets the color of the progress bar.
*/
backgroundColor?: string;
/* (Default - #A6A6A6).
* Sets the color of the progress bar track.
*/
trackColor?: string;
/* (Default - false)
* Sets the bar to animate constantly as a loading progress.
*/
indeterminate?: boolean;
/** (Default - 1100) */
indeterminateDuration?: number;
/* (Default - true)
* Chooses wheter to animate the progress or not
*/
animated?: boolean;
onCompletion?: () => any;
}
export const AnimatedProgress: FC<AnimatedProgressProps>;
export default AnimatedProgress;
Additional Details
- Last updated: Tue, 15 Feb 2022 21:01:36 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by tup1tsa.