Function: NarrationProvider()
NarrationProvider(
props
):Element
Provides narration-related functionalities and state management to its children components.
Parameters
• props
The properties object.
• props.actions?: NarrationActions
= {}
Optional actions that can be performed within the provider.
• props.children: ReactNode
The child components that will have access to the context.
Returns
Element
The provider component that wraps its children with narration context.