mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
17 lines
389 B
JavaScript
17 lines
389 B
JavaScript
import React, { PropTypes } from 'react'
|
|
|
|
export default class FinderInput extends React.Component {
|
|
render () {
|
|
return (
|
|
<div className='FinderInput'>
|
|
<input ref='input' value={this.props.value} onChange={this.props.handleSearchChange} type='text'/>
|
|
</div>
|
|
)
|
|
}
|
|
}
|
|
|
|
FinderInput.propTypes = {
|
|
handleSearchChange: PropTypes.func,
|
|
value: PropTypes.string
|
|
}
|