diff --git a/packages/rn-tester/js/examples/Switch/SwitchExample.js b/packages/rn-tester/js/examples/Switch/SwitchExample.js index bfc76fea03ef..65f494d5fb55 100644 --- a/packages/rn-tester/js/examples/Switch/SwitchExample.js +++ b/packages/rn-tester/js/examples/Switch/SwitchExample.js @@ -267,6 +267,15 @@ class ContainerBackgroundColorStyleExample extends React.Component< } } +function TransparentExample() { + return ( + + + + + ); +} + exports.title = 'Switch'; exports.documentationURL = 'https://reactnative.dev/docs/switch'; exports.category = 'UI'; @@ -320,6 +329,13 @@ exports.examples = [ return ; }, }, + { + title: 'The switch thumb renders transparent', + name: 'transparent-thumb-color', + render(): React.MixedElement { + return ; + }, + }, ] as Array; if (Platform.OS === 'ios') {