Files
react-native/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.js
T
Peter Argany b83a573c7d Flow type and codegen AndroidProgressBarNativeComponent
Summary: title

Reviewed By: rickhanlonii

Differential Revision: D15822629

fbshipit-source-id: 2d4181a860ae351c217ca3fb67b1d3bfeb4476e1
2019-06-19 18:36:14 -07:00

33 lines
859 B
JavaScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
'use strict';
import type {ColorValue} from '../../StyleSheet/StyleSheetTypes';
import type {ViewProps} from '../View/ViewPropTypes';
import type {Float, WithDefault} from '../../Types/CodegenTypes';
import codegenNativeComponent from '../../Utilities/codegenNativeComponent';
type NativeProps = $ReadOnly<{|
...ViewProps,
//Props
styleAttr?: string,
typeAttr?: string,
indeterminate: WithDefault<boolean, true>,
progress?: WithDefault<Float, 0>,
animating?: ?WithDefault<boolean, true>,
color?: ?ColorValue,
testID?: ?WithDefault<string, ''>,
|}>;
export default codegenNativeComponent<NativeProps>('AndroidProgressBar');