1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

feature tag search

This commit is contained in:
Sosuke Suzuki
2017-09-30 16:59:03 +09:00
parent ad0ac19d3d
commit faede48217
3 changed files with 17 additions and 9 deletions

View File

@@ -12,8 +12,8 @@ import CSSModules from 'browser/lib/CSSModules'
const TagListItem = (({name, handleClickTagButton}) => {
return (
<button onClick={handleClickTagButton}>
{name}
<button onClick={(e) => handleClickTagButton(e, name)}>
{`# ${name}`}
</button>
)
})