Skip to content

Instantly share code, notes, and snippets.

@daneden

daneden/demo.js

Last active Nov 5, 2015
Embed
What would you like to do?
render: function() {
return (
<Grid>
<GridCol width="1-of-2">
<p>Hello, world!</p>
</GridCol>
<GridCol width="1-of-2">
<p>This is a column!</p>
</GridCol>
</Grid>
);
}
// Output:
// <div class="o-grid">
// <div class="o-grid__col o-grid__col--1-of-2">
// <p>Hello, world!</p>
// [etc]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment