Sha256: 9f7865b77936c3dcfb327bcc6f6febb925c267a25a414bc2dda37d410e44cedb

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 Bytes

Contents

import {Component} from 'react';

export default class PageText extends Component {
  render() {
    return (
      <div className="contentText">
        <p dangerouslySetInnerHTML={this.text()} />
      </div>
    );
  }

  text() {
    return {__html: this.props.page.text};
  }
};

export default PageText;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pageflow-react-0.1.1 js/src/components/page_text.jsx
pageflow-react-0.1.0 js/src/components/page_text.jsx