-
-
Save SumeraMartin/42ddfaa4448b85087b0d5ef2d8efe406 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
@CustomPreview("SampleComponent") | |
@Composable | |
private fun SampleComponentPreview1() { | |
Showcase { | |
SampleComponent() | |
} | |
} | |
@CustomPreview("SampleComponent - disabled") | |
@Composable | |
private fun SampleComponentPreview2() { | |
Showcase { | |
SampleComponent(enabled = false) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment