mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
handling tagButton click
This commit is contained in:
@@ -7,11 +7,12 @@ import CSSModules from 'browser/lib/CSSModules'
|
||||
|
||||
/**
|
||||
* @param {string} name
|
||||
* @param (Function) handleClickTagButton
|
||||
*/
|
||||
|
||||
const TagListItem = (({name}) => {
|
||||
const TagListItem = (({name, handleClickTagButton}) => {
|
||||
return (
|
||||
<button>
|
||||
<button onClick={handleClickTagButton}>
|
||||
{name}
|
||||
</button>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user