Skip to content

Instantly share code, notes, and snippets.

@philcockfield
Last active May 26, 2016 06:09
Show Gist options
  • Save philcockfield/c77bc265759eb0b2d293459d98057d6e to your computer and use it in GitHub Desktop.
Save philcockfield/c77bc265759eb0b2d293459d98057d6e to your computer and use it in GitHub Desktop.
NodeAKL Meetup
git clone https://github.com/philcockfield/ui-harness-sample.git && cd ui-harness-sample && npm install
describe('my thing', function() {
it('does something', () => {
...
});
});
import React from 'react';
import Radium from 'radium';
import css from 'js-util/lib/react-css';
/**
*
*/
class Foo extends React.Component {
static propTypes = {};
static defaultProps = {};
styles() {
return css({
base: {},
});
}
render() {
const styles = this.styles();
return (
<div style={ styles.base }>Foo</div>
);
}
}
export default Radium(Foo);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment