module.exports = function () {

};
@@ -1,34 +1,1488 @@
-module.exports = function () %7B%0A%0A%7D;
+var React = require('react/addons');%0A%0Avar Input = React.createClass(%7B%0A%0A  mixins: %5BReact.addons.LinkedStateMixin%5D,%0A%0A  _onChange: function (event) %7B%0A    this.getValueLink(this.props).requestChange(event.target.value);%0A  %7D,%0A%0A  propTypes: %7B%0A    label: React.PropTypes.string,%0A    type: React.PropTypes.string,%0A    value: React.PropTypes.string,%0A    onChange: React.PropTypes.func,%0A    valueLink: React.PropTypes.shape(%7B%0A      value: React.PropTypes.string.isRequired,%0A      requestChange: React.PropTypes.func.isRequired%0A    %7D)%0A  %7D,%0A%0A  getDefaultProps: function () %7B%0A    return %7B%0A      label: '',%0A      type: 'text',%0A      value: '',%0A      onChange: function () %7B%0A        return;%0A      %7D,%0A      valueLink: null%0A    %7D%0A  %7D,%0A%0A  getValueLink: function(props) %7B%0A    return props.valueLink %7C%7C %7B%0A      value: props.value,%0A      requestChange: props.onChange%0A    %7D;%0A  %7D,%0A%0A  render: function () %7B%0A%0A    var Label; // the form label%0A%0A    if (this.props.label) %7B%0A      Label = (%0A        %3Clabel className=%22input-group-label%22 for=%7Bthis.props.name%7D%3E%7Bthis.props.label%7D%3C/label%3E%0A      );%0A    %7D%0A%0A    return (%0A      %3Cdiv className=%22input-group%22%3E%0A        %3CLabel /%3E%0A        %3Cinput%0A          type=%7Bthis.props.type%7D%0A          className=%22input-group-field%22%0A          name=%7Bthis.props.name%7D%0A          label=%7Bthis.props.label%7D%0A          placeholder=%7Bthis.props.placeholder%7D%0A          value=%7Bthis.getValueLink(this.props).value%7D%0A          onChange=%7Bthis._onChange%7D/%3E%0A      %3C/div%3E%0A    )%0A%0A  %7D%0A%7D);%0A%0Amodule.exports = Input;%0A

Add initial component JS