UNPKG

@giphy/react-native-sdk

Version:
29 lines 1.09 kB
import type { HostComponent, ViewProps } from 'react-native'; import type { DirectEventHandler, Double, Int32 } from 'react-native/Libraries/Types/CodegenTypes'; export type GiphyGridViewContentUpdateEvent = Readonly<{ resultCount: Int32; }>; export type GiphyGridViewRawMediaSelectEvent = Readonly<{ media: string; }>; export type GiphyGridViewMediaScrollEvent = Readonly<{ offset: Double; }>; export interface NativeProps extends ViewProps { cellPadding: Int32; clipsPreviewRenditionType: string; content?: string; disableEmojiVariations: boolean; fixedSizeCells: boolean; onContentUpdate?: DirectEventHandler<GiphyGridViewContentUpdateEvent>; onMediaSelect?: DirectEventHandler<GiphyGridViewRawMediaSelectEvent>; onScroll?: DirectEventHandler<GiphyGridViewMediaScrollEvent>; orientation: string; renditionType: string; showCheckeredBackground: boolean; spanCount?: Int32; theme: string; } declare const _default: HostComponent<NativeProps>; export default _default; //# sourceMappingURL=GiphyGridViewNativeComponent.d.ts.map