UNPKG

@giphy/react-native-sdk

Version:
20 lines 1.04 kB
import React from 'react'; import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes'; import { type ViewProps } from 'react-native'; import type { GiphyMediaID } from './dto/giphyMedia'; import { type GiphyVideoViewErrorEvent, type GiphyVideoViewMuteEvent, type GiphyVideoViewPlaybackStateChangeEvent, type GiphyVideoViewUnmuteEvent } from './specs/GiphyVideoViewNativeComponent'; export interface GiphyVideoViewProps extends ViewProps { autoPlay?: boolean; media?: GiphyMediaID; muted?: boolean; onError?: DirectEventHandler<GiphyVideoViewErrorEvent>; onMute?: DirectEventHandler<GiphyVideoViewMuteEvent>; onPlaybackStateChanged?: DirectEventHandler<GiphyVideoViewPlaybackStateChangeEvent>; onUnmute?: DirectEventHandler<GiphyVideoViewUnmuteEvent>; } export declare class GiphyVideoView extends React.Component<GiphyVideoViewProps, {}> { componentDidMount(): void; componentWillUnmount(): void; render(): React.JSX.Element; } //# sourceMappingURL=GiphyVideoView.d.ts.map