mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
25 lines
712 B
JavaScript
25 lines
712 B
JavaScript
import React from 'react'
|
|
import ReactDOM from 'react-dom'
|
|
import linkState from 'browser/lib/linkState'
|
|
import ExternalLink from 'browser/components/ExternalLink'
|
|
|
|
export default class ContactTab extends React.Component {
|
|
componentDidMount () {
|
|
let titleInput = ReactDOM.findDOMNode(this.refs.title)
|
|
if (titleInput != null) titleInput.focus()
|
|
}
|
|
|
|
render () {
|
|
return (
|
|
<div className='ContactTab content'>
|
|
<div className='title'>Contact</div>
|
|
<p>
|
|
- Issues: <ExternalLink href='https://github.com/BoostIO/Boostnote/issues'>https://github.com/BoostIO/Boostnote/issues</ExternalLink>
|
|
</p>
|
|
</div>
|
|
)
|
|
}
|
|
}
|
|
|
|
ContactTab.prototype.linkState = linkState
|