react native Text 컴포넌트 클릭 문제점 및 해결


react native Text 컴포넌트 클릭 문제점 및 해결

예시) <Text numberOfLines={isMoreTag ? maxTagLine : 1 } ellipsizeMode={'tail'} style={{ fontSize: 12, width: '80%', color: 'rgba(0,0,0,0)', }}> {hashTagList.map((item, index) => { return ( <Pressable key={index} onPress={() => { console.log('터치터치터치'); } style={{ flexDirection: 'row', alignItems: 'center', justifyContent: 'center', }}> <Text style={{ color: 'white', padding: 0, marginLeft: 6, fontSize: 12, }}> {'#' + item} </Text> </Pressable> ); })} </Text> 위와같은 예시처럼 리액트 네이티브 기본 Text컴포넌트 안에는 여러 컴포...



원문링크 : react native Text 컴포넌트 클릭 문제점 및 해결