1
Ich versuche, zwei Texteingabefelder für Benutzername und Passwort rechts von Appbar mit folgendem Code einzufügen. Aber es gibt keine Ausgabe.Material UI Text Eingabefeld innerhalb Appbar funktioniert nicht
const AppBarExampleIconMenu =() => (< AppBar title = { < span style = { styles.title } > Test < /span>}
iconElementLeft = { <IconButton> < NavigationClose/> < /IconButton>}
iconElementRight = { <div>
< TextField
hintText = "UserName"/>
< TextField
hintText = "PassWord"/>
< /div>
}
/>
);
Es hat nicht geklappt. –
Ich habe meine Antwort bearbeitet. –
Dies ist getestet und funktioniert absolut. Versuch es. –