Fixed conversion

This commit is contained in:
Gianluca Esposito 2015-09-10 22:07:30 +02:00
parent 077cb982ea
commit 43da6b8695

View file

@ -1,13 +1,8 @@
// Generated by CoffeeScript 1.10.0 import React from 'react';
var React;
React = require('react');
module.exports = React.createClass({ module.exports = React.createClass({
displayName: "HTMLWrapper",
render: function() { render: function() {
var html; var html;
console.log(this.props);
html = "<div>fix me</div>"; html = "<div>fix me</div>";
return ( return (
<div dangerouslySetInnerHTML={{__html: html}}/> <div dangerouslySetInnerHTML={{__html: html}}/>