feat: custom SimpleList, to allow onClick handle

This commit is contained in:
Deluan
2020-02-07 15:35:05 -05:00
parent f0e7f3ef25
commit a50735a94c
5 changed files with 171 additions and 10 deletions
+4 -1
View File
@@ -17,7 +17,10 @@ const PlayButton = ({
return (
<IconButton
onClick={() => dispatch(action(record))}
onClick={(e) => {
e.stopPropagation()
dispatch(action(record))
}}
{...rest}
size={'small'}
>