1
다음 코드로 Appbar의 오른쪽에 사용자 이름과 암호에 대한 두 개의 텍스트 입력 필드를 삽입하려고합니다. 그러나 그것은 어떤 결과도주지 않는다.Appbar 내부 재질 UI 텍스트 입력 필드가 작동하지 않습니다.
const AppBarExampleIconMenu =() => (< AppBar title = { < span style = { styles.title } > Test < /span>}
iconElementLeft = { <IconButton> < NavigationClose/> < /IconButton>}
iconElementRight = { <div>
< TextField
hintText = "UserName"/>
< TextField
hintText = "PassWord"/>
< /div>
}
/>
);
효과가 없습니다. –
내 대답을 편집했습니다. –
이것은 테스트되었으며 절대로 작동합니다. 시도 해봐. –