React Native를 사용하여 특이한 오류가 발생했습니다. 내 button.js
내부 나는 인식 할 수없는 글꼴 패밀리 (기본)
import Icon from "react-native-vector-icons/MaterialIcons";
const icon = (Icon name="menu size={20} color="green"/>);
render()
return(
{icon}
)
를하고있는 중이 야하지만 난으로 FontAwesome을 가져올 때
Unrecognized Font Family 'Material Icons'
그러나 오류 주어진 해요 :
import Icon from "react-native-vector-icons/FontAwesome";
내가 오류를 얻을에게.
프로젝트를 다시 시작하기 만하면 문제가 해결되는 것 같습니다. – Bas