Skip to main content

default

talawa-adminDocs


talawa-admin / components/ChangeLanguageDropdown/ChangeLanguageDropDown / default

Function: default()

> default(props): Element

A dropdown component that allows users to change the application's language. It updates the user's language preference in the backend and stores the selection in cookies.

Parameters

props: InterfaceChangeLanguageDropDownProps

The properties for customizing the dropdown component.

Returns

Element

JSX.Element - The rendered dropdown component for changing languages.

Defined in

src/components/ChangeLanguageDropdown/ChangeLanguageDropDown.tsx:29