scratch-www/src/components/forms/input.jsx
2015-10-09 14:16:37 -06:00

22 lines
428 B
JavaScript

var React = require('react');
var classNames = require('classnames');
require('./input.scss');
var Input = React.createClass({
type: 'Input',
propTypes: {
},
render: function () {
var classes = classNames(
'input',
this.props.className
);
return (
<input {... this.props} className={classes} />
);
}
});
module.exports = Input;