Update index.d.ts

This commit is contained in:
Pavlos Vinieratos
2018-11-21 17:34:59 +01:00
committed by GitHub
parent 7a449c042e
commit c24ef742cd
+2 -2
View File
@@ -43,6 +43,6 @@ export type Direction =
export function withSafeArea(
WrappedComponent: React.ComponentType<any>,
applyTo: 'margin' | 'padding' | 'absolutePosition' | 'contentInset' = 'margin',
direction: Direction = 'all',
applyTo: 'margin' | 'padding' | 'absolutePosition' | 'contentInset',
direction: Direction,
): React.ComponentType<any>;