Trails Packages
    Preparing search index...
    • Renders the result of formatting a message using the provided intl object.

      Example:

      <FormattedRichMessage intl={intl} id="message.id" />
      

      Parameters

      • props: FormattedRichMessageProps

        Props supported by FormattedRichMessage.

        • id: string

          The message's id.

        • intl: PackageIntl | ReadonlyReactive<PackageIntl> | ReactiveGetter<PackageIntl>

          The intl object of the package rendering the message. Must contain a message associated with the given id.

          Note that this value can be a direct instance, or a signal / reactive getter implemented in terms of the Reactivity API.

        • Optionalopts?: Options

          Additional options for the formatting operation.

        • Optionalvalues?: Record<string, RichTextValue>

          Formatting values used to parametrize the message. Also supports callbacks, see PackageIntl.formatRichMessage.

      Returns ReactNode