@hyext-beyond/hy-ui-native
Version:
A native lib polyfill for huya miniapp
22 lines (21 loc) • 654 B
TypeScript
/// <reference types="react" />
import { ViewStyle } from "react-native";
type IProps = {
loop: false;
onEnd?: () => void;
onStart?: () => void;
onError?: () => void;
src: string;
style?: ViewStyle;
config: string;
onFrameChange?: (frame: number) => void;
};
export declare function VapVideoAnimated(props: IProps): JSX.Element;
export declare function VideoAnimated(): any;
export declare function NormalVideoAnimated(): any;
declare const _default: {
VideoAnimated: typeof VideoAnimated;
VapVideoAnimated: typeof VapVideoAnimated;
NormalVideoAnimated: typeof NormalVideoAnimated;
};
export default _default;