FluentUI Compat

Home > @cascadiacollections/fluentui-compat > IUseBooleanCallbacks

IUseBooleanCallbacks interface

Updater callbacks returned by useBoolean.

Signature:

export interface IUseBooleanCallbacks 

Properties

Property

Modifiers

Type

Description

setFalse

() => void

Set the value to false. Always has the same identity.

setTrue

() => void

Set the value to true. Always has the same identity.

toggle

() => void

Toggle the value. Always has the same identity.

  • Edit this page
In this article
Back to top FluentUI React complimentary components and utilities focused on render performance