1.0.3 • Published 3 years ago
react-privacycenter v1.0.3
react-privacycenter
React plugin to embed PORT.im Privacy Center
Install
$ npm install react-privacycenter
or
$ yarn add react-privacycenter
Usage
Import the Privacy Center component
import { PrivacyCenter } from "react-privacycenter";
Wrap something in the Privacy Center link
<PrivacyCenter fallback="https://privacy.port.im" id="XXX">Privacy Center</PrivacyCenter>
Props/Options
fallback - the fallback hosted url of your Privacy Center
id - the UUID of your Privacy Center