mirror of
https://github.com/cupcakearmy/use-light-switch.git
synced 2024-12-22 07:56:26 +00:00
Update README.md
This commit is contained in:
parent
3ce82beeb8
commit
972aaec90a
@ -85,7 +85,7 @@ A simple enum. Possible values are:
|
||||
|
||||
### `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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user