Skip to content

Instantly share code, notes, and snippets.

@rloqvist
Created May 11, 2018 08:49
Show Gist options
  • Select an option

  • Save rloqvist/7545c4507a73e2f582b1fb9683b5aa18 to your computer and use it in GitHub Desktop.

Select an option

Save rloqvist/7545c4507a73e2f582b1fb9683b5aa18 to your computer and use it in GitHub Desktop.
React default component
import React, { Component } from 'react';
import PropTypes from 'prop-types';
const styles = {};
export default class Default extends Component {
static propTypes = {
};
constructor( props ) {
super( props );
this.state = {
};
}
render() {
return (
<div>
{ 'default' }
</div>
)
}
}
Object.assign( styles, {
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment