Basics are in place
This commit is contained in:
commit
ece83848ab
17 changed files with 466 additions and 0 deletions
11
wrappers/html.cjsx
Normal file
11
wrappers/html.cjsx
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
React = require 'react'
|
||||
|
||||
module.exports = React.createClass
|
||||
displayName: "HTMLWrapper"
|
||||
|
||||
render: ->
|
||||
#html = require "../" + @props.page.requirePath
|
||||
console.log @props
|
||||
html = "<div>fix me</div>"
|
||||
<div dangerouslySetInnerHTML={{__html: html}}/>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue