Last active
February 19, 2016 17:01
-
-
Save cdbkr/3124714246d4d2a1024c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const React = require('react'); | |
const ReactAtellier = require('react-atellier')(React); | |
class AtellierWrapper extends React.Component{ | |
render() { | |
const Icon = React.createClass({ | |
render: function() { | |
return ( | |
<div> | |
hello | |
</div> | |
); | |
} | |
}); | |
const componentList = [{ | |
componentName : 'Icon', | |
component : Icon | |
}]; | |
return ( | |
<div> | |
<ReactAtellier components={componentList}></ReactAtellier> | |
</div> | |
); | |
} | |
}; | |
export default AtellierWrapper; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment