Skip to content

Commit 5792969

Browse files
authored
Merge pull request #538 from opendatalab/main
update(audio-annotator-react): update types
2 parents 87f5304 + ea534aa commit 5792969

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/audio-annotator-react/src/MediaAnnotatorWrapper.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export interface MediaPlayerProps {
158158
*
159159
* @param annotation 选中的标注
160160
*/
161-
onAnnotationSelect?: (annotation: AudioAnnotationInUI) => void;
161+
onAnnotationSelect?: (annotation: AudioAnnotationInUI, e: React.MouseEvent) => void;
162162
/**
163163
* 当标注改变时调用的回调
164164
*

0 commit comments

Comments
 (0)