-
카테고리
-
세부 분야
모바일 앱 개발
-
해결 여부
미해결
inputText = () => {}에 return
21.01.24 20:49 작성 조회수 132
8
//다음과 같이 return()으로 감싸주어야 렌더링됩니다.
inputText = () =>{
return(
this.state.sampleBoolean ?
<Text>sampleBoolean is true</Text>
:
<Text>sampleBoolean is false</Text>
)
}
답변을 작성해보세요.
0
0
답변 2