useLanguage
Hook that returns the language selected in MoBro.
Returns
A simple string with the selected language in MoBro.
Example
src/widgets/example/Example.tsx
import React from 'react'
import {useLanguage} from '@modbros/dashboard-sdk'
export default function Example() {
// language like en
const language = useLanguage()
return null
}