Fixed conversion
This commit is contained in:
parent
077cb982ea
commit
43da6b8695
1 changed files with 1 additions and 6 deletions
|
|
@ -1,13 +1,8 @@
|
|||
// Generated by CoffeeScript 1.10.0
|
||||
var React;
|
||||
|
||||
React = require('react');
|
||||
import React from 'react';
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: "HTMLWrapper",
|
||||
render: function() {
|
||||
var html;
|
||||
console.log(this.props);
|
||||
html = "<div>fix me</div>";
|
||||
return (
|
||||
<div dangerouslySetInnerHTML={{__html: html}}/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue