Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
David authored and David committed Jul 25, 2024
1 parent 7da5e93 commit 88c547c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const { isOk } = useKillswitch({
androidApiKey: androidApiKey,
language: myAppLanguage,
version: myAppVersion,
enabled: true,
});
```

Expand Down Expand Up @@ -63,6 +64,9 @@ const { isOk } = useKillswitch({
- `timeout`
A number of milliseconds to wait for the back-end before returning `isOk = true`. Defaults to `2000`

- `enabled`
Toggle if you want to disabled. Defaults to `true`

## License

react-native-killswitch is © 2023 [Mirego](https://www.mirego.com) and may be freely distributed under the [New BSD license](http://opensource.org/licenses/BSD-3-Clause). See the [`LICENSE.md`](./LICENSE.md) file.
Expand Down

0 comments on commit 88c547c

Please sign in to comment.