Skip to content

Commit 138d987

Browse files
committed
fix: update README to reflect change from rawMarkdown to markdown in StreamdownText component
1 parent b515a7a commit 138d987

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ module.exports = config;
9696
```tsx
9797
import { StreamdownText } from 'react-native-streamdown';
9898

99-
// rawMarkdown can be updated token-by-token as the LLM streams
100-
<StreamdownText rawMarkdown={partialMarkdown} />;
99+
// markdown can be updated token-by-token as the LLM streams
100+
<StreamdownText markdown={partialMarkdown} />;
101101
```
102102

103103
### Props

0 commit comments

Comments
 (0)