Skip to main content

Import

Usage

Return Type: UseSocialLinkReturnType

The hook returns an object with the following properties:

Properties

isSocialLinkOpen

boolean Indicates whether the social link modal is currently open (true) or closed (false).

waasConfigKey

string | null The WaaS configuration key associated with the social link functionality, or null if not available.

setIsSocialLinkOpen

(isOpen: boolean) => void Function to open or close the social link modal. Parameters:
ParameterTypeDescription
isOpenbooleanWhether the modal should be open (true) or closed (false)