/** * Create a boolean value and switches for changing it * * ```js * const [isOpen, isOpenSwitch] = useBoolean() * *