mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
16 lines
343 B
JavaScript
16 lines
343 B
JavaScript
var React = require('react')
|
|
|
|
module.exports = React.createClass({
|
|
propTypes: {
|
|
onChange: React.PropTypes.func,
|
|
search: React.PropTypes.string
|
|
},
|
|
render: function () {
|
|
return (
|
|
<div className='FinderInput'>
|
|
<input value={this.props.search} onChange={this.props.onChange} type='text'/>
|
|
</div>
|
|
)
|
|
}
|
|
})
|