UNPKG

@giphy/react-native-sdk

Version:
18 lines 722 B
import React from 'react'; import type { HostComponent } from 'react-native'; import type { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes'; export interface NativeProps extends ViewProps { autoPlay: boolean; mediaId?: string; renditionType: string; resizeMode: string; showCheckeredBackground: boolean; } export interface NativeCommands { pause: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void; resume: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void; } export declare const Commands: NativeCommands; declare const _default: HostComponent<NativeProps>; export default _default; //# sourceMappingURL=GiphyMediaViewNativeComponent.d.ts.map