Skip to content

Commit

Permalink
feat(types): add missed containerStyle prop
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayZoneYour committed Jun 23, 2019
1 parent 28294b7 commit 27b51f9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
declare module 'react-native-swiper' {
import { ViewStyle } from 'react-native'
import { Component } from 'react'
import { ViewStyle, StyleProp } from 'react-native'
import { Component } from 'react'

declare module 'react-native-swiper' {
interface SwiperProps {
// Basic
// If true, the scroll view's children are arranged horizontally in a row instead of vertically in a column.
Expand All @@ -24,6 +24,8 @@ declare module 'react-native-swiper' {
height?: number
// See default style in source.
style?: ViewStyle
// Customize the View container.
containerStyle?: StyleProp<ViewStyle>
// Only load current index slide , loadMinimalSize slides before and after.
loadMinimal?: boolean
// see loadMinimal
Expand Down

0 comments on commit 27b51f9

Please sign in to comment.