mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
make optional, since they have a default value
This commit is contained in:
+2
-2
@@ -43,6 +43,6 @@ export type Direction =
|
||||
|
||||
export function withSafeArea(
|
||||
WrappedComponent: React.ComponentType<any>,
|
||||
applyTo: 'margin' | 'padding' | 'absolutePosition' | 'contentInset',
|
||||
direction: Direction,
|
||||
applyTo?: 'margin' | 'padding' | 'absolutePosition' | 'contentInset',
|
||||
direction?: Direction,
|
||||
): React.ComponentType<any>;
|
||||
|
||||
Reference in New Issue
Block a user