Storyblok
fun Storyblok(accessToken: String, version: Api.Config.Version, region: Api.Config.Region = EU, language: String? = null, fallbackLanguage: String? = null, cv: String? = null, blokProvider: BlokProvider, content: @Composable StoryblokScope.() -> Unit)(source)
Entry point composable for rendering Storyblok content.
Creates a StoryblokClient and provides a StoryblokScope with access to both the client and registered blok composables.
Parameters
accessToken
The API access token for authentication.
version
The content version to retrieve (draft or published).
language
Optional language code for localized content.
fallbackLanguage
Optional fallback language for untranslated fields.
cv
Optional cache version timestamp.
blokProvider
The BlokProvider containing registered component composables and serializers.
content
The composable content rendered within the StoryblokScope.