[ReactNative] s/RK/RCT in OSS

This commit is contained in:
Spencer Ahrens
2015-03-17 03:08:46 -07:00
parent 733596b67a
commit b396de3cc8
50 changed files with 276 additions and 263 deletions

View File

@@ -3,7 +3,7 @@
*
* @providesModule SwitchIOS
*
* This is a controlled component version of RKSwitch.
* This is a controlled component version of RCTSwitch.
*/
'use strict';
@@ -80,7 +80,7 @@ var SwitchIOS = React.createClass({
render: function() {
return (
<RKSwitch
<RCTSwitch
ref={SWITCH}
style={[styles.rkSwitch, this.props.style]}
enabled={!this.props.disabled}
@@ -109,7 +109,7 @@ var rkSwitchAttributes = merge(ReactIOSViewAttributes.UIView, {
enabled: true,
});
var RKSwitch = createReactIOSNativeComponentClass({
var RCTSwitch = createReactIOSNativeComponentClass({
validAttributes: rkSwitchAttributes,
uiViewClassName: 'RCTSwitch',
});