mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-19 13:08:11 +08:00
Fixes typo
Reviewed By: bestander Differential Revision: D4103918 fbshipit-source-id: 1176f97cf489180490e497be7deca331ed26e730
This commit is contained in:
committed by
Facebook Github Bot
parent
7063ff466a
commit
9833e1bd34
@@ -16,7 +16,7 @@ module.exports = moduleName => {
|
||||
const name = RealComponent.displayName || RealComponent.name;
|
||||
|
||||
return React.createElement(
|
||||
name.replace(/^(RTC|RK)/,''),
|
||||
name.replace(/^(RCT|RK)/,''),
|
||||
this.props,
|
||||
this.props.children,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user