code

useTimeoutToggle

Offers a boolean state and a trigger that, when invoked, sets the state to `true`. Then, after a specified timeout expires, the state is automatically set back to `false`.
Tap the spinner. Its active state will toggle to `true`, enabling a countdown. Then, after 11 seconds, state switches back to `false`, which allows the countdown to be triggered again.

9