@cloudflare/component-dynamic-content

Cloudflare Dynamic Content Component

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@cloudflare/component-dynamic-content
Minified + gzip package size for @cloudflare/component-dynamic-content in KB

Readme

@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;

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.