Instantly share code, notes, and snippets.

@kasprownik /demo.js Secret
Last active Jan 29, 2016

Embed
What would you like to do?
// demo.js
import React from 'react';
import ReactDOM from 'react-dom';
import Form, {Text} from '.src/index';
ReactDOM.render((
<Form>
<Text
name="name"
placeholder="Type your name here"
label="Your name"/>
</Form>
), document.getElementById('container'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment