Make @Preview internal.
And exclude class generated by Showkase
This commit is contained in:
parent
00ce51cade
commit
6bb01d640f
29 changed files with 60 additions and 58 deletions
|
|
@ -76,11 +76,11 @@ fun RootView(
|
|||
|
||||
@Preview
|
||||
@Composable
|
||||
fun RootLightPreview(@PreviewParameter(RootStateProvider::class) rootState: RootState) = ElementPreviewLight { ContentToPreview(rootState) }
|
||||
internal fun RootLightPreview(@PreviewParameter(RootStateProvider::class) rootState: RootState) = ElementPreviewLight { ContentToPreview(rootState) }
|
||||
|
||||
@Preview
|
||||
@Composable
|
||||
fun RootDarkPreview(@PreviewParameter(RootStateProvider::class) rootState: RootState) = ElementPreviewDark { ContentToPreview(rootState) }
|
||||
internal fun RootDarkPreview(@PreviewParameter(RootStateProvider::class) rootState: RootState) = ElementPreviewDark { ContentToPreview(rootState) }
|
||||
|
||||
@Composable
|
||||
private fun ContentToPreview(rootState: RootState) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue