Created
September 23, 2019 22:16
-
-
Save Laimiux/ac5cc7aa6618061a54a81e0d19e83af0 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
data class StopwatchRenderModel( | |
val timePassed: String, | |
val startStopButton: ButtonRenderModel, | |
val resetButton: ButtonRenderModel | |
) | |
data class ButtonRenderModel( | |
val text: String, | |
val onSelected: () -> Unit | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment