Allow play button click handler to have args
This commit is contained in:
parent
c0e3174d09
commit
55937e71db
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ const Title = ({ children }: TitleProps) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
interface PlayButtonProps {
|
interface PlayButtonProps {
|
||||||
onClick: () => void;
|
onClick: (args: any) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
const PlayButton = ({ onClick }: PlayButtonProps) => {
|
const PlayButton = ({ onClick }: PlayButtonProps) => {
|
||||||
|
|
Reference in a new issue