mirror of
https://github.com/outline/outline.git
synced 2026-11-29 16:40:27 +03:00
* fix: Allow every mention notification to be turned off and unsubscribed - The Mentioned and Group mentions settings now control both the document and comment event types. - Mention, share, collection invite, and access request emails now have an unsubscribe link and List-Unsubscribe header. * fix: Translate access request emails and set email language and direction - The access request email now uses the language of the recipient. - Emails now set lang and dir on the HTML document, and RTL emails align content to the right.
5 lines
171 B
TypeScript
5 lines
171 B
TypeScript
import * as React from "react";
|
|
|
|
/** The text direction of the email that is being rendered. */
|
|
export const DirectionContext = React.createContext<"ltr" | "rtl">("ltr");
|