StoryblokScope
class StoryblokScope(val client: StoryblokClient, blockScope: BlockScope) : BlockScope, StoryblokClient(source)
Scope combining StoryblokClient and BlockScope capabilities.
Provides access to story fetching via StoryblokClient and component rendering via BlockScope.
Properties
Functions
Link copied to clipboard
Appends a RichText node to an AnnotatedString.Builder using its registered builder.
Renders a RichText node using its registered composable.
Link copied to clipboard
Link copied to clipboard
open override fun story(slug: String, resolveLevel: Int, query: StoryQuery<Component>.() -> Unit): Flow<Story<Component>>
open override fun story(uuid: Uuid, resolveLevel: Int, query: StoryQuery<Component>.() -> Unit): Flow<Story<Component>>