Skip to content

Commit

Permalink
docs: update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
F0rsaken committed Sep 15, 2022
1 parent c7f7bf3 commit 8cec2f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ const { value } = await AndroidInsets.top();

### top()

Get top offset of status bar

```typescript
top() => Promise<TopReturn>
```

Returns top offset of the status bar

**Returns:** <code>Promise&lt;<a href="#topreturn">TopReturn</a>&gt;</code>

--------------------
Expand Down
3 changes: 3 additions & 0 deletions src/definitions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
export interface AndroidInsetsPlugin {
/**
* Returns top offset of the status bar
*/
top(): Promise<TopReturn>;
}

Expand Down

0 comments on commit 8cec2f8

Please sign in to comment.