mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-01-08 05:22:16 -05:00
20 lines
389 B
React
20 lines
389 B
React
|
var React = require('react');
|
||
|
var classNames = require('classnames');
|
||
|
|
||
|
require('./input.scss');
|
||
|
|
||
|
module.exports = React.createClass({
|
||
|
propTypes: {
|
||
|
|
||
|
},
|
||
|
render: function () {
|
||
|
var classes = classNames(
|
||
|
'input',
|
||
|
this.props.className
|
||
|
);
|
||
|
return (
|
||
|
<input {... this.props} className={classes} />
|
||
|
);
|
||
|
}
|
||
|
});
|