react-native-json-grid-list
Version:
This library will help you create impressive grid lists like these.
14 lines (13 loc) • 427 B
TypeScript
import { ReactChildren } from 'react';
import { FastImageSource } from 'react-native-fast-image';
import { VideoProperties } from 'react-native-video';
export interface ChildrenProps {
[propName: string]: any;
}
export interface ItemLayout {
color?: string;
photo?: FastImageSource;
video?: VideoProperties['source'];
childrenProps?: ChildrenProps;
children?: (props: ChildrenProps) => ReactChildren;
}