1*fe5cfb17STomasz Sapeta/** 2*fe5cfb17STomasz Sapeta * Copyright (c) Meta Platforms, Inc. and affiliates. 3*fe5cfb17STomasz Sapeta * 4*fe5cfb17STomasz Sapeta * This source code is licensed under the MIT license found in the 5*fe5cfb17STomasz Sapeta * LICENSE file in the root directory of this source tree. 6*fe5cfb17STomasz Sapeta * 7*fe5cfb17STomasz Sapeta * @format 8*fe5cfb17STomasz Sapeta */ 9*fe5cfb17STomasz Sapeta 10*fe5cfb17STomasz Sapetaimport type * as React from 'react'; 11*fe5cfb17STomasz Sapetaimport {Constructor} from '../../../types/private/Utilities'; 12*fe5cfb17STomasz Sapetaimport {ImageURISource} from '../../Image/ImageSource'; 13*fe5cfb17STomasz Sapetaimport {NativeMethods} from '../../../types/public/ReactNativeTypes'; 14*fe5cfb17STomasz Sapetaimport {ColorValue} from '../../StyleSheet/StyleSheet'; 15*fe5cfb17STomasz Sapetaimport {ViewProps} from '../View/ViewPropTypes'; 16*fe5cfb17STomasz Sapeta 17*fe5cfb17STomasz Sapeta/** 18*fe5cfb17STomasz Sapeta * @see https://reactnative.dev/docs/progressviewios 19*fe5cfb17STomasz Sapeta * @see ProgressViewIOS.ios.js 20*fe5cfb17STomasz Sapeta */ 21*fe5cfb17STomasz Sapetaexport interface ProgressViewIOSProps extends ViewProps { 22*fe5cfb17STomasz Sapeta /** 23*fe5cfb17STomasz Sapeta * The progress bar style. 24*fe5cfb17STomasz Sapeta */ 25*fe5cfb17STomasz Sapeta progressViewStyle?: 'default' | 'bar' | undefined; 26*fe5cfb17STomasz Sapeta 27*fe5cfb17STomasz Sapeta /** 28*fe5cfb17STomasz Sapeta * The progress value (between 0 and 1). 29*fe5cfb17STomasz Sapeta */ 30*fe5cfb17STomasz Sapeta progress?: number | undefined; 31*fe5cfb17STomasz Sapeta 32*fe5cfb17STomasz Sapeta /** 33*fe5cfb17STomasz Sapeta * The tint color of the progress bar itself. 34*fe5cfb17STomasz Sapeta */ 35*fe5cfb17STomasz Sapeta progressTintColor?: ColorValue | undefined; 36*fe5cfb17STomasz Sapeta 37*fe5cfb17STomasz Sapeta /** 38*fe5cfb17STomasz Sapeta * The tint color of the progress bar track. 39*fe5cfb17STomasz Sapeta */ 40*fe5cfb17STomasz Sapeta trackTintColor?: ColorValue | undefined; 41*fe5cfb17STomasz Sapeta 42*fe5cfb17STomasz Sapeta /** 43*fe5cfb17STomasz Sapeta * A stretchable image to display as the progress bar. 44*fe5cfb17STomasz Sapeta */ 45*fe5cfb17STomasz Sapeta progressImage?: ImageURISource | ImageURISource[] | undefined; 46*fe5cfb17STomasz Sapeta 47*fe5cfb17STomasz Sapeta /** 48*fe5cfb17STomasz Sapeta * A stretchable image to display behind the progress bar. 49*fe5cfb17STomasz Sapeta */ 50*fe5cfb17STomasz Sapeta trackImage?: ImageURISource | ImageURISource[] | undefined; 51*fe5cfb17STomasz Sapeta} 52*fe5cfb17STomasz Sapeta 53*fe5cfb17STomasz Sapetadeclare class ProgressViewIOSComponent extends React.Component<ProgressViewIOSProps> {} 54*fe5cfb17STomasz Sapetadeclare const ProgressViewIOSBase: Constructor<NativeMethods> & 55*fe5cfb17STomasz Sapeta typeof ProgressViewIOSComponent; 56*fe5cfb17STomasz Sapeta/** 57*fe5cfb17STomasz Sapeta * ProgressViewIOS has been extracted from react-native core and will be removed in a future release. 58*fe5cfb17STomasz Sapeta * It can now be installed and imported from `@react-native-community/progress-view` instead of 'react-native'. 59*fe5cfb17STomasz Sapeta * @see https://github.com/react-native-community/progress-view 60*fe5cfb17STomasz Sapeta * @deprecated 61*fe5cfb17STomasz Sapeta */ 62*fe5cfb17STomasz Sapetaexport class ProgressViewIOS extends ProgressViewIOSBase {} 63