scratch-www/src/components/forms/input.jsx

23 lines
428 B
React
Raw Normal View History

2015-09-21 09:18:00 -04:00
var React = require('react');
var classNames = require('classnames');
require('./input.scss');
var Input = React.createClass({
2015-10-09 16:16:37 -04:00
type: 'Input',
2015-09-21 09:18:00 -04:00
propTypes: {
},
render: function () {
var classes = classNames(
'input',
this.props.className
);
return (
<input {... this.props} className={classes} />
);
}
});
module.exports = Input;