Skip to content

Commit 5a7e1c1

Browse files
committed
package.json upd
readme.md upd
1 parent 0b83c29 commit 5a7e1c1

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ Most workarounds involve JavaScript, touchmove event listeners, or weird side ef
2222

2323
### Demo (modal with scrollable content): [https://stripearmy.github.io/ios-scroll-lock-demo/scrollable.html](https://stripearmy.github.io/ios-scroll-lock-demo/scrollable.html)
2424

25+
_LIGHT Package Size:_
26+
27+
[![minzip size](https://badgen.net/bundlephobia/minzip/react-ios-scroll-lock?color=blue)](https://badgen.net/bundlephobia/minzip/react-ios-scroll-lock?color=blue)
28+
2529
## Installation
2630

2731
$ npm install react-ios-scroll-lock

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-ios-scroll-lock",
33
"author": "Arsen Mkrtchyan (stripearmy)",
44
"private": false,
5-
"version": "1.0.2",
5+
"version": "1.0.4",
66
"description": "A lightweight CSS-only scroll lock solution for iOS Safari and Android",
77
"type": "module",
88
"main": "dist/react-ios-scroll-lock.umd.js",

src/IosScrollLock.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import "./styles/ios-scroll-lock.css";
2+
import type {ReactNode} from "react";
23

34
interface IosScrollLockProps {
45
bgColor?: string;

0 commit comments

Comments
 (0)