New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cloudflare/component-dynamic-content

Package Overview
Dependencies
Maintainers
33
Versions
505
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

3.0.3
npm
Version published
Weekly downloads
4.6K
-6.81%
Maintainers
33
Weekly downloads
 
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 '../../src';

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 20 Mar 2024

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