Merge pull request #55 from terrierscript/patch-1

ScrollViewStyle -> ViewStyle
This commit is contained in:
Saleel
2018-07-21 22:08:49 +04:00
committed by GitHub

6
index.d.ts vendored
View File

@@ -1,5 +1,5 @@
import * as React from "react";
import { ScrollViewStyle, SectionListData, StyleProp } from "react-native";
import { ViewStyle, SectionListData, StyleProp } from "react-native";
/**
* React Native Super Grid Properties
@@ -33,7 +33,7 @@ export interface SuperGridProps<ItemType = any> {
/**
* Style
*/
style?: StyleProp<ScrollViewStyle>;
style?: StyleProp<ViewStyle>;
/**
* Specifies a static width or height for the GridView container.
@@ -69,7 +69,7 @@ export interface SuperGridSectionListProps<ItemType = any> {
itemWidth?: number, // for backward compatibility
fixed?: boolean,
spacing?: number,
style?: StyleProp<ScrollViewStyle>,
style?: StyleProp<ViewStyle>,
staticDimension?: number,
renderSectionHeader?: (info: { section: SectionListData<ItemType> }) => JSX.Element;
onLayout?: func,