main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /// <reference types="react" />
|
---|
2 | declare const useAudio: (elOrProps: import("./factory/createHTMLMediaHook").HTMLMediaProps | import("react").ReactElement<import("./factory/createHTMLMediaHook").HTMLMediaProps, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>) => readonly [import("react").ReactElement<import("./factory/createHTMLMediaHook").HTMLMediaProps & {
|
---|
3 | ref?: import("react").MutableRefObject<HTMLAudioElement | null> | undefined;
|
---|
4 | }, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>, import("./factory/createHTMLMediaHook").HTMLMediaState, {
|
---|
5 | play: () => Promise<void> | undefined;
|
---|
6 | pause: () => void;
|
---|
7 | seek: (time: number) => void;
|
---|
8 | volume: (volume: number) => void;
|
---|
9 | mute: () => void;
|
---|
10 | unmute: () => void;
|
---|
11 | }, import("react").MutableRefObject<HTMLAudioElement | null>];
|
---|
12 | export default useAudio;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.