Slide 5
Slide 5 text
@Composable
fun LoginInputView(email: String, pass: String, onSubmit: () *> Unit) {
Column(modifier = Modifier.padding(all = 48.dp)) {
Text(style = cursiveTextStyle, text = "Login")
RhythmSpacer()
LabeledTextField(text = email, hidden = false, label = "Username")
RhythmSpacer()
LabeledTextField(text = pass, hidden = true, label = "Password")
RhythmSpacer()
TextButton(onSubmit, "Login")
}
}
LoginInputView("billjings", "12345")
@Composable
fun LoginInputView(email: String, pass: String, onSubmit: () *> Unit) {
Column(modifier = Modifier.padding(all = 48.dp)) {
Text(style = cursiveTextStyle, text = "Login")
RhythmSpacer()
LabeledTextField(text = email, hidden = false, label = "Username")
RhythmSpacer()
LabeledTextField(text = pass, hidden = true, label = "Password")
RhythmSpacer()
TextButton(onSubmit, "Login")
}
}
LoginInputView("billjings", "12345")
@Composable
fun LoginInputView(email: String, pass: String, onSubmit: () *> Unit) {
Column(modifier = Modifier.padding(all = 48.dp)) {
Text(style = cursiveTextStyle, text = "Login")
RhythmSpacer()
LabeledTextField(text = email, hidden = false, label = "Username")
RhythmSpacer()
LabeledTextField(text = pass, hidden = true, label = "Password")
RhythmSpacer()
TextButton(onSubmit, "Login")
}
}
LoginInputView("ashdavies", "12345")
@Composable
fun LoginInputView(email: String, pass: String, onSubmit: () *> Unit) {
Column(modifier = Modifier.padding(all = 48.dp)) {
Text(style = cursiveTextStyle, text = "Login")
RhythmSpacer()
LabeledTextField(text = email, hidden = false, label = "Username")
RhythmSpacer()
LabeledTextField(text = pass, hidden = true, label = "Password")
RhythmSpacer()
TextButton(onSubmit, "Login")
}
}
LoginInputView("ashdavies", "12345")