import * as React from "react"; import { View, ViewStyle, StyleProp } from "react-native"; import { DefaultTheme } from "styled-components"; declare type Props = React.ComponentPropsWithRef & { /** * Progress value (between 0 and 1). */ progress?: number; /** * Color of the progress bar. The background color will be calculated based on this but you can change it by passing `backgroundColor` to `style` prop. */ color?: string; /** * If the progress bar will show indeterminate progress. */ indeterminate?: boolean; /** * Whether to show the ProgressBar (true, the default) or hide it (false). */ visible?: boolean; style?: StyleProp; /** * @optional */ theme?: DefaultTheme; }; /** * Progress bar is an indicator used to present progress of some activity in the app. * *
* *
* * ## Usage * ```js * import * as React from 'react'; * import ProgressBar from 'react-native-simple-elements/components/ProgressBar'; * import * as Colors from "react-native-simple-elements/components/theme/colors"; * * const MyComponent = () => ( * * ); * * export default MyComponent; * ``` */ declare const ProgressBar: ({ color, indeterminate, style, progress, visible, ...rest }: Props) => JSX.Element; export default ProgressBar;