Skip to content

Commit

Permalink
Fix prop typing typo (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniorBoaventura authored Jun 9, 2020
1 parent d92902f commit 43cb259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ This can be useful for example to create a safe area aware separator component:

Returns the safe area insets of the nearest provider. This allows manipulating the inset values from JavaScript. Note that insets are not updated synchronously so it might cause a slight delay for example when rotating the screen.

Object with `{ top: number, right: number, bottom: number: number, left: number }`.
Object with `{ top: number, right: number, bottom: number, left: number }`.

```js
import { useSafeAreaInsets } from 'react-native-safe-area-context';
Expand Down

0 comments on commit 43cb259

Please sign in to comment.