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-04 14:20:04 -07:00
committed by Facebook Github Bot
parent 12ab08a5aa
commit 997f382adc

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.',
);
}
}