概览
手册
核心层
带切换和设置回调的布尔状态。
useToggle(initial?): [boolean, (next?) => void]
import { useToggle } from "@gunkin/uiify/hooks";