Created
August 27, 2020 20:37
-
-
Save lelandrichardson/ee839fa554bdab2592ef795362c39402 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 FancyBox(children: @Composable () -> Unit) { | |
Box(fancy) { children() } | |
} | |
@Composable fun Story(…) { /* ... */ } | |
@Composable fun EditForm(...) { /* ... */ } | |
@Composable fun FancyStory(...) { | |
FancyBox { Story(…) } | |
} | |
@Composable fun FancyEditForm(...) { | |
FancyBox { EditForm(...) } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment