This package has been deprecated

Author message:

This package has been deprecated. Please find this package under its new name @cloudflare/component-dynamic-content.

cf-component-dynamic-content

2.4.24 • Public • Published

cf-component-dynamic-content

Cloudflare Dynamic Content Component

Installation

Installation with yarn is recommended

 
$ yarn add cf-component-dynamic-content
 

Usage

import React from 'react';
import { DynamicContent } from 'cf-component-dynamic-content';
 
class DynamicContentComponent extends React.Component {
  render() {
    return (
      <DynamicContent
        dangerouslySetInnerHTML={{
          __html: '<p>Not an XSS attack, I swear.</p>'
        }}
      />
    );
  }
}
 
export default DynamicContentComponent;
 

Readme

Keywords

none

Package Sidebar

Install

npm i cf-component-dynamic-content

Weekly Downloads

3

Version

2.4.24

License

BSD-3-Clause

Unpacked Size

12.4 kB

Total Files

9

Last publish

Collaborators

  • lerwincf
  • lbarthonet
  • cf-media-manager
  • jacobbednarz
  • celso
  • cf-radar
  • dash_service_account
  • g4brym
  • snigdha34
  • wrangler-publisher
  • marksteyn
  • chiminator
  • sgoodhew_cf
  • terinjokes
  • third774
  • jsteinberger
  • jasnell
  • asapzacy
  • pcostanzo
  • gregbrimble
  • geelen
  • rexscaria
  • dcruz_cf
  • xuranwang
  • jculvey
  • sejoker
  • vasturiano
  • cf-ci-write
  • segments-write
  • thibmeu
  • xortive
  • gurjinder
  • cf-ci2
  • lvalenta
  • worenga