import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent' 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 onMediaSelect?: DirectEventHandler onScroll?: DirectEventHandler orientation: string renditionType: string showCheckeredBackground: boolean spanCount?: Int32 theme: string } export default codegenNativeComponent('RTNGiphyGridView') as HostComponent