tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

PrivacyLink.jsx (674B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 import React from "react";
      6 import { SafeAnchor } from "../SafeAnchor/SafeAnchor";
      7 import { FluentOrText } from "content-src/components/FluentOrText/FluentOrText";
      8 
      9 export class PrivacyLink extends React.PureComponent {
     10  render() {
     11    const { properties } = this.props;
     12    return (
     13      <div className="ds-privacy-link">
     14        <SafeAnchor url={properties.url}>
     15          <FluentOrText message={properties.title} />
     16        </SafeAnchor>
     17      </div>
     18    );
     19  }
     20 }