Skip to content

Commit bb0bbb8

Browse files
Update README.md
1 parent 0e3c305 commit bb0bbb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ Import and use the utility functions to fetch values:
4343
```tsx md title="App.tsx"
4444
import {
4545
fetchStatusBarHeight,
46-
fetchBottonInset,
46+
fetchBottomInset,
4747
} from '@logicwind/react-native-status-bar-height';
4848

4949
const statusBarHeight = fetchStatusBarHeight();
50-
const bottomInset = fetchBottonInset();
50+
const bottomInset = fetchBottomInset();
5151
```
5252

5353
## Example
@@ -57,7 +57,7 @@ const bottomInset = fetchBottonInset();
5757
Status Bar Height
5858
</Text>
5959
<View style={{ flex: 1 }} />
60-
<Text style={{ marginBottom: fetchBottonInset() }}>
60+
<Text style={{ marginBottom: fetchBottomInset() }}>
6161
Bottom Safe Area
6262
</Text>
6363
</View>

0 commit comments

Comments
 (0)