@renzycode/react-native-fb-photo-grid
Version:
A React Native component to display photos in a grid like Facebook's newsfeed.
16 lines (12 loc) • 419 B
TypeScript
declare module '@renzycode/react-native-fb-photo-grid' {
import { ComponentType } from 'react';
interface FBPhotoGridProps {
height?: number;
gutterColor?: string;
photos: string[];
gutter?: number;
onTouchPhoto?: (photoUri: string, index: number) => void;
}
const FBPhotoGrid: ComponentType<FBPhotoGridProps>;
export default FBPhotoGrid;
}