概要
ハンドブック
基盤レイヤー
切り替え・設定のコールバックを備えた真偽値の状態。
useToggle(initial?): [boolean, (next?) => void]
import { useToggle } from "@gunkin/uiify/hooks";