Skip to content

Commit

Permalink
Updated Child Panels docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arkivanov committed Dec 10, 2024
1 parent 62d04fe commit 7d2a34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/navigation/panels/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ import kotlinx.serialization.builtins.serializer

interface PanelsComponent {

val panels: Value<ChildPanels<*, MainComponent, *, DetailsComponent, *, Nothing>>
val panels: Value<ChildPanels<*, MainComponent, *, DetailsComponent, Nothing, Nothing>>

fun setMode(mode: ChildPanelsMode)
}
Expand All @@ -95,7 +95,7 @@ class DefaultPanelsComponent(

private val nav = PanelsNavigation<Unit, DetailsConfig, Nothing>()

override val panels: Value<ChildPanels<*, MainComponent, *, DetailsComponent, *, Nothing>> =
override val panels: Value<ChildPanels<*, MainComponent, *, DetailsComponent, Nothing, Nothing>> =
childPanels(
source = nav,
serializers = Unit.serializer() to DetailsConfig.serializer(),
Expand Down

0 comments on commit 7d2a34e

Please sign in to comment.