-
-
Save kasem-sm/ae5f9532217fc463d19f9630e15bf112 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun MyScreen() { | |
// val focusManager = LocalFocusManager.current | |
Column { | |
// Username Field | |
MyTextField(...) | |
// Password Field | |
MyTextField( | |
text = "Enter your Password", | |
onTextChange = { /** Update state **/ }, | |
keyboardOptions = KeyboardOptions( | |
imeAction = ImeAction.Done | |
), | |
keyboardActions = KeyboardActions( | |
onDone = { | |
// This would do the same as the register button would | |
// registerUser() | |
} | |
) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment