FonamentStatelessContent
A special type of FonamentContent that does not require a FonamentUIState and FonamentContentState to render its content.
Functions
Link copied to clipboard
Link copied to clipboard
operator fun invoke(uiState: NoUIState, contentState: NoContentState, modifier: Modifier, onEvent: (FonamentEvent) -> Unit)
Link copied to clipboard
inline fun <N : FonamentNavigationEvent> FonamentStatelessContent.NavigationNode(navigationEventHandler: FonamentNavigationEventHandler<N> = FonamentNavigationEventHandler { })
Wrapper of FonamentStatelessContent.invoke that receives a FonamentNavigationEventHandler. You can use this function to create a navigation entry node in your navigation graph.
inline fun <N : FonamentNavigationEvent, U : FonamentUIState, C : FonamentContentState> FonamentContent<U, C>.NavigationNode(uiState: U, contentState: C, navigationEventHandler: FonamentNavigationEventHandler<N> = FonamentNavigationEventHandler { })
Wrapper of FonamentContent.invoke that receives a FonamentNavigationEventHandler and the uiState and contentState. You can use this function to create a navigation entry node in your navigation graph.