mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Use generated Java delegate for setting properties on ReactProgressBarViewManager
Summary: This diff migrates `ReactProgressBarViewManager` to use the generated `AndroidProgressBarManagerDelegate` for setting its properties. Reviewed By: JoshuaGross, mdvacca Differential Revision: D17315619 fbshipit-source-id: 6293c6fc18567a934b6f3dce9b77abcc408052d8
This commit is contained in:
committed by
Facebook Github Bot
parent
23557d1f9a
commit
2e7545cf7e
@@ -12,7 +12,7 @@
|
||||
|
||||
import type {ColorValue} from '../../StyleSheet/StyleSheetTypes';
|
||||
import type {ViewProps} from '../View/ViewPropTypes';
|
||||
import type {Float, WithDefault} from '../../Types/CodegenTypes';
|
||||
import type {Double, WithDefault} from '../../Types/CodegenTypes';
|
||||
|
||||
import codegenNativeComponent from '../../Utilities/codegenNativeComponent';
|
||||
import {type NativeComponentType} from '../../Utilities/codegenNativeComponent';
|
||||
@@ -24,7 +24,7 @@ type NativeProps = $ReadOnly<{|
|
||||
styleAttr?: string,
|
||||
typeAttr?: string,
|
||||
indeterminate: boolean,
|
||||
progress?: WithDefault<Float, 0>,
|
||||
progress?: WithDefault<Double, 0>,
|
||||
animating?: WithDefault<boolean, true>,
|
||||
color?: ?ColorValue,
|
||||
testID?: WithDefault<string, ''>,
|
||||
|
||||
Reference in New Issue
Block a user