mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-01-05 20:12:02 -05:00
22 lines
428 B
JavaScript
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;
|