Skip to content

Commit

Permalink
Fix deprecation warning message in Switch
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #21479

Differential Revision: D10205122

Pulled By: TheSavior

fbshipit-source-id: a7bbdae3b5dd6b47c4dc995e3c2e8e40abb64f13
  • Loading branch information
radko93 authored and facebook-github-bot committed Oct 4, 2018
1 parent 12ab08a commit 997f382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Components/Switch/Switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
);
}
}
Expand Down

0 comments on commit 997f382

Please sign in to comment.