UseButtonReturnValue

external interface UseButtonReturnValue(source)

Properties

Link copied to clipboard
abstract var active: Boolean

If true, the component is active (pressed).

Link copied to clipboard
abstract var focusVisible: Boolean

If true, the component is being focused using keyboard.

Link copied to clipboard
abstract var getRootProps: Props

Resolver for the root slot's props.

Link copied to clipboard
abstract var rootRef: RefCallback<Element>?

A ref to the component's root DOM element.

Link copied to clipboard

Callback for setting the focusVisible param.