This example demonstrates a custom render prop that applies gradient highlighting to spoken words.
+This example shows how to create animated highlighting effects using the render prop.
+This example demonstrates custom border-based highlighting using the render prop.
+This example shows how the render prop works with more complex JSX content.
+This paragraph contains bold text and italic text to demonstrate how the render prop handles complex content.
+This example demonstrates conditional highlighting based on word length or content.
+This example cycles through different colors for each word that's spoken.
+{childrenText}
+ } + } + ) + + expect(result.current.spokenText).toBe(testText) + }) + + it('supports render prop for custom highlighting', async () => { + const testText = 'Test text for highlighting' + const mockRender = jest.fn