mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
19 lines
410 B
JavaScript
19 lines
410 B
JavaScript
import React, { PropTypes } from 'react'
|
|
import CSSModules from 'browser/lib/CSSModules'
|
|
import styles from './InfoButton.styl'
|
|
|
|
const InfoButton = ({
|
|
onClick
|
|
}) => (
|
|
<button styleName='control-infoButton'
|
|
onClick={(e) => onClick(e)}
|
|
>
|
|
<i className='fa fa-info-circle infoButton' styleName='info-button' />
|
|
</button>
|
|
)
|
|
|
|
InfoButton.propTypes = {
|
|
}
|
|
|
|
export default CSSModules(InfoButton, styles)
|