react-native-masonry-scrollview
Version:
A React Native Masonry ScrollView that extends the inbuilt ScrollView component
12 lines • 596 B
TypeScript
import { ReactNode } from "react";
import { ScrollViewProps, StyleProp, ViewStyle } from "react-native";
export interface RNMasonryScrollViewProps extends ScrollViewProps {
children: ReactNode[];
columns?: number;
columnStyle?: StyleProp<ViewStyle>;
oddColumnStyle?: StyleProp<ViewStyle>;
evenColumnStyle?: StyleProp<ViewStyle>;
}
declare const RNMasonryScrollView: ({ children, columns, columnStyle, oddColumnStyle, evenColumnStyle, horizontal, ...otherProps }: RNMasonryScrollViewProps) => JSX.Element;
export default RNMasonryScrollView;
//# sourceMappingURL=index.d.ts.map