🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@cloudflare/component-dynamic-content

Package Overview
Dependencies
Maintainers
24
Versions
509
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/component-dynamic-content

Cloudflare Dynamic Content Component

1.0.3
npm
Version published
Maintainers
24
Created
Source

@cloudflare/component-dynamic-content

Cloudflare Dynamic Content Component

Installation

Installation with yarn is recommended


$ yarn add @cloudflare/component-dynamic-content

Usage

import React from 'react';
import { DynamicContent } from '@cloudflare/component-dynamic-content';

class DynamicContentComponent extends React.Component {
  render() {
    return (
      <DynamicContent
        dangerouslySetInnerHTML={{
          __html: '<p>Not an XSS attack, I swear.</p>'
        }}
      />
    );
  }
}

export default DynamicContentComponent;

FAQs

Package last updated on 14 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts