diff --git a/src/components/Switch/__tests__/__snapshots__/index-test.js.snap b/src/components/Switch/__tests__/__snapshots__/index-test.js.snap index 630bf2fe..01df8163 100644 --- a/src/components/Switch/__tests__/__snapshots__/index-test.js.snap +++ b/src/components/Switch/__tests__/__snapshots__/index-test.js.snap @@ -6,7 +6,7 @@ exports[`components/Switch disabled when "false" a default checkbox is rendered style="height:20px;width:40px;" >
minWidth ? styleWidth : minWidth; const trackBorderRadius = multiplyStyleLengthValue(height, 0.5); - const trackCurrentColor = value ? activeTrackColor : trackColor; - const thumbCurrentColor = value ? activeThumbColor : thumbColor; + const trackCurrentColor = value ? onTintColor || activeTrackColor : tintColor || trackColor; + const thumbCurrentColor = value ? activeThumbColor : thumbTintColor || thumbColor; const thumbHeight = height; const thumbWidth = thumbHeight; @@ -167,7 +176,7 @@ const styles = StyleSheet.create({ height: '70%', margin: 'auto', transitionDuration: '0.1s', - width: '90%' + width: '100%' }, disabledTrack: { backgroundColor: '#D5D5D5'