scratch-www/src/components/forms/select.jsx
2015-10-15 11:48:03 -04:00

24 lines
492 B
JavaScript

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