Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Component, ComponentType, ReactElement } from 'react'
import { Component, ComponentType, ReactNode } from 'react'
import { ViewStyle } from 'react-native'

interface HeaderItemProps {
IconElement?: ReactElement<any>
IconElement?: ReactNode
buttonStyle?: ViewStyle
buttonWrapperStyle?: ViewStyle
color?: string
Expand All @@ -15,9 +15,9 @@ interface HeaderItemProps {

interface HeaderButtonsProps {
IconComponent?: ComponentType<any>
OverflowIcon?: ReactElement<any>
OverflowIcon?: ReactNode
cancelButtonLabel?: string
children: ReactElement<any>
children: ReactNode
color?: string
iconSize?: number
left?: boolean
Expand Down