getMessage() function
Given a MessageContext instance, fetches an entry from the messages object of the current or given locale. The returned value will be undefined if not found, or otherwise exactly as set in the MessageProvider props.
Signature:
export declare function getMessage(context: MessageContext, id?: string | string[], locale?: string | string[]): unknown;
Parameters
Returns:
unknown
