Fix deprecation warning message in Switch

Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/21479

Differential Revision: D10205122

Pulled By: TheSavior

fbshipit-source-id: a7bbdae3b5dd6b47c4dc995e3c2e8e40abb64f13
This commit is contained in:
Radek Czemerys
2018-10-11 23:13:40 +02:00
committed by Mike Grabowski
parent 131db26cbd
commit e7ea1f840c
+1 -1
View File
@@ -109,7 +109,7 @@ class Switch extends React.Component<Props> {
_thumbColor = thumbTintColor;
if (__DEV__) {
console.warn(
'Switch: `thumbTintColor` is deprecated, use `_thumbColor` instead.',
'Switch: `thumbTintColor` is deprecated, use `thumbColor` instead.',
);
}
}