mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-15 09:58:29 +08:00
25 lines
709 B
TypeScript
25 lines
709 B
TypeScript
import { ComponentClass } from 'react'
|
|
import { ViewProperties, ViewStyle } from 'react-native'
|
|
import 'react-navigation'
|
|
|
|
declare module 'react-navigation' {
|
|
export interface TabBarTopProps {
|
|
indicatorStyle: ViewStyle
|
|
}
|
|
|
|
export type SafeAreaViewForceInsetValue = 'always' | 'never'
|
|
|
|
export interface SafeAreaViewProps extends ViewProperties {
|
|
forceInset?: {
|
|
top?: SafeAreaViewForceInsetValue
|
|
bottom?: SafeAreaViewForceInsetValue
|
|
left?: SafeAreaViewForceInsetValue
|
|
right?: SafeAreaViewForceInsetValue
|
|
horizontal?: SafeAreaViewForceInsetValue
|
|
vertical?: SafeAreaViewForceInsetValue
|
|
}
|
|
}
|
|
|
|
export const SafeAreaView: ComponentClass<SafeAreaViewProps>
|
|
}
|