Skip to content

Instantly share code, notes, and snippets.

@nolimits4web
Created May 27, 2018 12:57
Show Gist options
  • Save nolimits4web/e78ee835605299814d6bc99d7c8fb004 to your computer and use it in GitHub Desktop.
Save nolimits4web/e78ee835605299814d6bc99d7c8fb004 to your computer and use it in GitHub Desktop.
Phenome -> React Component
import React from 'react';
class MyCard extends React.Component {
constructor(props) {
super(props);
}
render() {
return React.createElement(
'div',
{
className: 'card',
id: 'some-id',
},
React.createElement('p', null, 'This is card')
);
}
}
export default MyCard;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment