1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00
This commit is contained in:
asmsuechan
2017-07-08 14:02:03 +09:00
parent 21f96febdb
commit f005bb1e46
3 changed files with 7 additions and 4 deletions

View File

@@ -6,13 +6,14 @@ const InfoButton = ({
onClick
}) => (
<button styleName='control-infoButton'
onClick={(e) => onClick(e)}
onClick={onClick}
>
<i className='fa fa-info-circle infoButton' styleName='info-button' />
</button>
)
InfoButton.propTypes = {
onClick: PropTypes.func.isRequired
}
export default CSSModules(InfoButton, styles)