@giphy/react-native-sdk
Version:
Giphy React Native SDK
19 lines • 861 B
TypeScript
import React from 'react';
import type { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes';
import type { GiphyMediaID } from './dto/giphyMedia';
import type { GiphyRendition } from './dto/giphyRendition';
import type { ResizeMode } from './dto/misc';
export interface GiphyMediaViewProps extends ViewProps {
autoPlay?: boolean;
media?: GiphyMediaID;
renditionType?: GiphyRendition;
resizeMode?: ResizeMode;
showCheckeredBackground?: boolean;
}
export declare class GiphyMediaView extends React.Component<GiphyMediaViewProps, {}> {
ref: React.RefObject<(React.Component<import("./specs/GiphyMediaViewNativeComponent").NativeProps, {}, any> & import("react-native").NativeMethods) | null>;
pause: () => void;
resume: () => void;
render(): React.JSX.Element;
}
//# sourceMappingURL=GiphyMediaView.d.ts.map