Replace typography components with Compound components
This commit is contained in:
@@ -8,14 +8,20 @@ Please see LICENSE in the repository root for full details.
|
||||
import { FC } from "react";
|
||||
import { Trans } from "react-i18next";
|
||||
|
||||
import { Link } from "../typography/Typography";
|
||||
import { ExternalLink } from "../button/Link";
|
||||
|
||||
export const AnalyticsNotice: FC = () => (
|
||||
<Trans i18nKey="analytics_notice">
|
||||
By participating in this beta, you consent to the collection of anonymous
|
||||
data, which we use to improve the product. You can find more information
|
||||
about which data we track in our{" "}
|
||||
<Link href="https://element.io/privacy">Privacy Policy</Link> and our{" "}
|
||||
<Link href="https://element.io/cookie-policy">Cookie Policy</Link>.
|
||||
<ExternalLink href="https://element.io/privacy">
|
||||
Privacy Policy
|
||||
</ExternalLink>{" "}
|
||||
and our{" "}
|
||||
<ExternalLink href="https://element.io/cookie-policy">
|
||||
Cookie Policy
|
||||
</ExternalLink>
|
||||
.
|
||||
</Trans>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user