From a965f4d27f5fd1def21334517f85b7091d5fbefe Mon Sep 17 00:00:00 2001 From: Danisco212 Date: Mon, 15 Aug 2022 11:18:23 +0700 Subject: [PATCH] fix(customSwitch): add the correct import --- src/customSwitch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/customSwitch.js b/src/customSwitch.js index c638fc1..1009dbb 100644 --- a/src/customSwitch.js +++ b/src/customSwitch.js @@ -1,7 +1,7 @@ import React, { useState, useEffect, useRef } from 'react'; import { View, StyleSheet, Text, TouchableWithoutFeedback, Animated, LayoutAnimation, Platform, UIManager } from 'react-native'; -import hexToRgb from './hexToRgb'; +import hexToRgb from './utils'; if (Platform.OS === 'android') { if (UIManager.setLayoutAnimationEnabledExperimental) {