Skip to main content
Version: Next

useLanguage()

function useLanguage(): [string, (language) => void, boolean]

Hook that returns current language from report context, and provides function to change the language Also include language text direction as third parameter

Returns

[string, (language) => void, boolean]