diff --git a/Libraries/Components/Switch/Switch.js b/Libraries/Components/Switch/Switch.js index 237519a5e..b400588a6 100644 --- a/Libraries/Components/Switch/Switch.js +++ b/Libraries/Components/Switch/Switch.js @@ -73,11 +73,6 @@ export type Props = $ReadOnly<{| * event, use `onChange`. */ onValueChange?: ?(value: boolean) => Promise | void, - - /** - * Identifier used to find this view in tests. - */ - testID?: ?string, |}>; // @see ReactSwitchManager.java @@ -133,7 +128,6 @@ class Switch extends React.Component { onChange, onValueChange, style, - testID, thumbColor, trackColor, value,