@studio-freight/react-lenis
Advanced tools
Comparing version 0.0.40 to 0.0.42
{ | ||
"name": "@studio-freight/react-lenis", | ||
"version": "0.0.40", | ||
"version": "0.0.42", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -1,18 +0,4 @@ | ||
<!-- [![Bibliotheca](https://assets.studiofreight.com/bibliotheca/header.png)](https://github.com/studio-freight/bibliotheca) --> | ||
![NPM Version](https://img.shields.io/npm/v/%40studio-freight%2Freact-lenis?colorA=000000&colorB=ff98a2) | ||
![NPM Downloads](https://img.shields.io/npm/dm/%40studio-freight%2Freact-lenis?colorA=000000&colorB=ff98a2) | ||
<!-- <p align="center"> | ||
<a aria-label="Vercel logo" href="https://vercel.com"> | ||
<img src="https://badgen.net/badge/icon/Next?icon=zeit&label&color=black&labelColor=black"> | ||
</a> | ||
<br/> | ||
<a aria-label="NPM version" href="https://www.npmjs.com/package/swr"> | ||
<img alt="" src="https://badgen.net/npm/v/swr?color=black&labelColor=black"> | ||
</a> | ||
<a aria-label="Package size" href="https://bundlephobia.com/result?p=swr"> | ||
<img alt="" src="https://badgen.net/bundlephobia/minzip/swr?color=black&labelColor=black"> | ||
</a> | ||
<a aria-label="License" href="https://github.com/vercel/swr/blob/main/LICENSE"> | ||
<img alt="" src="https://badgen.net/npm/license/swr?color=black&labelColor=black"> | ||
</a> | ||
</p> --> | ||
@@ -85,3 +71,3 @@ ## Introduction | ||
function update(time) { | ||
lenisRef.current?.raf(time * 1000) | ||
lenisRef.current.lenis?.raf(time * 1000) | ||
} | ||
@@ -88,0 +74,0 @@ |
53331
113