Class LanguagePicker

Source
Expand description

React component for a language picker button or menu

LanguagePicker(props: CommonProps): ReactNode | Promise<ReactNode>

Properties§

§static displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

see

Legacy React Docs

example

const MyComponent: FC = () => {
  return 
Hello!
} MyComponent.displayName = 'MyAwesomeComponent'
§static propTypes?: any

Ignored by React.

deprecated

Only kept in types for backwards compatibility. Will be removed in a future major release.