Skip to content

Commit 7a7fdbb

Browse files
committed
docs: typo fix
1 parent a2562b0 commit 7a7fdbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/MediaSensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const MyCompWithSize = withMedia(MyComp, 'isBigScreen', '(min-width: 480px)');
2424
```
2525

2626

27-
## `@withBattery`
27+
## `@withMedia`
2828

2929
Statefull component class decorator that injects a boolean prop into your component that specifies if media query matches.
3030

0 commit comments

Comments
 (0)