Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joelkanyi authored Dec 2, 2024
1 parent cf472f3 commit 98b3272
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ for electronic signature, legal documents and more.

See the [project's website](https://joelkanyi.github.io/sain/) for documentation.

```kotlin
```diff
var imageBitmap by remember {
mutableStateOf<ImageBitmap?>(null)
}
- val state = remember {
- SignatureState()
- }

Sain(
- state = state,
modifier = Modifier
.fillMaxWidth()
.height(250.dp)
Expand Down

0 comments on commit 98b3272

Please sign in to comment.