Skip to content

Commit ba966c5

Browse files
committed
Rename RCT to RNC
1 parent a8b1009 commit ba966c5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

js/ProgressViewIOS.ios.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
const React = require('React');
1414
const StyleSheet = require('StyleSheet');
1515

16-
const RCTProgressViewNativeComponent = require('RCTProgressViewNativeComponent');
16+
const RNCProgressViewNativeComponent = require('RNCProgressViewNativeComponent');
1717

1818
import type {ImageSource} from 'ImageSource';
1919
import type {ColorValue} from 'StyleSheetTypes';
@@ -58,9 +58,9 @@ type Props = $ReadOnly<{|
5858
*/
5959
const ProgressViewIOS = (
6060
props: Props,
61-
forwardedRef?: ?React.Ref<typeof RCTProgressViewNativeComponent>,
61+
forwardedRef?: ?React.Ref<typeof RNCProgressViewNativeComponent>,
6262
) => (
63-
<RCTProgressViewNativeComponent
63+
<RNCProgressViewNativeComponent
6464
{...props}
6565
style={[styles.progressView, props.style]}
6666
ref={forwardedRef}
@@ -78,4 +78,4 @@ const ProgressViewIOSWithRef = React.forwardRef(ProgressViewIOS);
7878
/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an
7979
* error found when Flow v0.89 was deployed. To see the error, delete this
8080
* comment and run Flow. */
81-
module.exports = (ProgressViewIOSWithRef: RCTProgressViewNativeComponent);
81+
module.exports = (ProgressViewIOSWithRef: RNCProgressViewNativeComponent);

js/RCTProgressViewNativeComponent.js renamed to js/RNCProgressViewNativeComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ type NativeProps = $ReadOnly<{|
3030
type NativeProgressViewIOS = Class<NativeComponent<NativeProps>>;
3131

3232
module.exports = ((requireNativeComponent(
33-
'RCTProgressView',
33+
'RNCProgressView',
3434
): any): NativeProgressViewIOS);

0 commit comments

Comments
 (0)