Skip to content

Commit e7ea1f8

Browse files
radko93grabbou
authored andcommitted
Fix deprecation warning message in Switch
Summary: Pull Request resolved: facebook#21479 Differential Revision: D10205122 Pulled By: TheSavior fbshipit-source-id: a7bbdae3b5dd6b47c4dc995e3c2e8e40abb64f13
1 parent 131db26 commit e7ea1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/Components/Switch/Switch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class Switch extends React.Component<Props> {
109109
_thumbColor = thumbTintColor;
110110
if (__DEV__) {
111111
console.warn(
112-
'Switch: `thumbTintColor` is deprecated, use `_thumbColor` instead.',
112+
'Switch: `thumbTintColor` is deprecated, use `thumbColor` instead.',
113113
);
114114
}
115115
}

0 commit comments

Comments
 (0)