Update README.md

This commit is contained in:
Nicco 2020-01-06 23:37:52 +01:00 committed by GitHub
parent 3ce82beeb8
commit 972aaec90a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ A simple enum. Possible values are:
### `useModeSelector(options)` ### `useModeSelector(options)`
This is a handy hook that reduces boilerplate. You pass values for the different modes and the hook will choose accordingly to what is currently selected. uses [`modeSelector`](#modeSelector) under the hood. This is a handy hook that reduces boilerplate. You pass values for the different modes and the hook will choose accordingly to what is currently selected. uses [`modeSelector`](#modeselectormode-options) under the hood.
###### Example ###### Example