registerForLocalization

A method which registers a component class or a stateless functional component for localization. When a component of that type is a direct or indirect child of LocalizationProvider, the language of the provider is used.

Parameters

component ComponentClass | React.SFC

The React component class that will use the internationalization methods.

 /