Created
March 12, 2025 19:04
-
-
Save harmittaa/f6ce22c3f8507d6eb4295616f9a3215c to your computer and use it in GitHub Desktop.
TimePickerPreview
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
@PreviewLightDark | |
@Composable | |
fun TimePickerPreview() { | |
AppTheme { | |
Surface { | |
TimePicker( | |
state = rememberTimePickerState( | |
initialHour = 11, | |
initialMinute = 11, | |
is24Hour = true, | |
) | |
) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment