Interface ClickAwayProps

Props of the useClickAway hook.

interface ClickAwayProps {
    isDisabled?: boolean;
    onClickAway?: (() => void);
}

Properties

isDisabled?: boolean

If true then click away listeners are disabled.

false
onClickAway?: (() => void)

A handler that is called when a user clicks outside a container.