1
次のコードでAppbarの右側にユーザー名とパスワードの2つのテキスト入力フィールドを挿入しようとしています。しかし、それは何の出力も与えません。Appbar内のUI UIテキスト入力フィールドが機能しない
const AppBarExampleIconMenu =() => (< AppBar title = { < span style = { styles.title } > Test < /span>}
iconElementLeft = { <IconButton> < NavigationClose/> < /IconButton>}
iconElementRight = { <div>
< TextField
hintText = "UserName"/>
< TextField
hintText = "PassWord"/>
< /div>
}
/>
);
これはうまくいかなかった。 –
私は私の答えを編集しました。 –
これはテストされており、絶対に動作しています。それを試してみてください。 –