Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedRejeb committed Feb 17, 2025
1 parent 1cc5d00 commit f41df35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ val myUriHandler by remember {
})
}
CompositionLocalProvider(LocalUriHandler provides myUriHandler) {
RichTextEditor(
RichText(
state = richTextState,
modifier = Modifier.fillMaxWidth()
)
Expand Down
5 changes: 4 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ val myUriHandler by remember {
})
}
CompositionLocalProvider(LocalUriHandler provides myUriHandler) {
RichText( ... )
RichText(
state = richTextState,
modifier = Modifier.fillMaxWidth()
)
}
```

Expand Down

0 comments on commit f41df35

Please sign in to comment.