mirror of
https://github.com/zhigang1992/react-native-super-grid.git
synced 2026-04-28 20:35:16 +08:00
Merge pull request #55 from terrierscript/patch-1
ScrollViewStyle -> ViewStyle
This commit is contained in:
6
index.d.ts
vendored
6
index.d.ts
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user