diff --git a/src/exports/CheckBox/__tests__/__snapshots__/index-test.js.snap b/src/exports/CheckBox/__tests__/__snapshots__/index-test.js.snap index 4a47dd915c..b23809541b 100644 --- a/src/exports/CheckBox/__tests__/__snapshots__/index-test.js.snap +++ b/src/exports/CheckBox/__tests__/__snapshots__/index-test.js.snap @@ -9,7 +9,7 @@ exports[`CheckBox prop "accessibilityLabel" value is set 1`] = ` class="css-view-175oi2r r-alignItems-1awozwy r-backgroundColor-14lw9ot r-borderColor-1awa8pu r-borderRadius-1jkafct r-borderStyle-1phboty r-borderWidth-d045u9 r-height-1pi2tsx r-justifyContent-1777fci r-width-13qz1uu" /> @@ -25,7 +25,7 @@ exports[`CheckBox prop "color" value is set 1`] = ` /> @@ -41,7 +41,7 @@ exports[`CheckBox prop "dataSet" value is set 1`] = ` class="css-view-175oi2r r-alignItems-1awozwy r-backgroundColor-14lw9ot r-borderColor-1awa8pu r-borderRadius-1jkafct r-borderStyle-1phboty r-borderWidth-d045u9 r-height-1pi2tsx r-justifyContent-1777fci r-width-13qz1uu" /> @@ -56,7 +56,7 @@ exports[`CheckBox prop "nativeID" value is set 1`] = ` class="css-view-175oi2r r-alignItems-1awozwy r-backgroundColor-14lw9ot r-borderColor-1awa8pu r-borderRadius-1jkafct r-borderStyle-1phboty r-borderWidth-d045u9 r-height-1pi2tsx r-justifyContent-1777fci r-width-13qz1uu" /> @@ -71,7 +71,7 @@ exports[`CheckBox prop "style" value is set 1`] = ` class="css-view-175oi2r r-alignItems-1awozwy r-backgroundColor-14lw9ot r-borderColor-1awa8pu r-borderRadius-1jkafct r-borderStyle-1phboty r-borderWidth-d045u9 r-height-1pi2tsx r-justifyContent-1777fci r-width-13qz1uu" /> @@ -86,7 +86,7 @@ exports[`CheckBox prop "testID" value is set 1`] = ` class="css-view-175oi2r r-alignItems-1awozwy r-backgroundColor-14lw9ot r-borderColor-1awa8pu r-borderRadius-1jkafct r-borderStyle-1phboty r-borderWidth-d045u9 r-height-1pi2tsx r-justifyContent-1777fci r-width-13qz1uu" /> diff --git a/src/exports/CheckBox/index.js b/src/exports/CheckBox/index.js index 5c5bda2d7b..38c7b3680b 100644 --- a/src/exports/CheckBox/index.js +++ b/src/exports/CheckBox/index.js @@ -116,7 +116,7 @@ const styles = StyleSheet.create({ ...StyleSheet.absoluteFillObject, height: '100%', margin: 0, - opacity: 0, + appearance: 'none', padding: 0, width: '100%' } diff --git a/src/exports/Switch/index.js b/src/exports/Switch/index.js index 8ed7be9830..a8c81fe453 100644 --- a/src/exports/Switch/index.js +++ b/src/exports/Switch/index.js @@ -219,7 +219,7 @@ const styles = StyleSheet.create({ ...StyleSheet.absoluteFillObject, height: '100%', margin: 0, - opacity: 0, + appearance: 'none', padding: 0, width: '100%' }