useFormatMessage
Formats a core Message (a key and its parameters) with the active
catalogue, for text a component shows or hands on as a string. The function
is stable while the catalogue is.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { useFormatMessage } from "@mapcairn/map";
function useFormatMessage(): (message: Message) => string;
Returns
(message: Message) => string