Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.