Skip to content

Commit

Permalink
remove lenis/react RSC installation snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
clementroche authored Oct 10, 2024
1 parent d4ddafd commit d13bdb3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,6 @@ function Layout() {
}
```

### RSC
```jsx
// libs/lenis.js

'use client'

export * from 'lenis/react'
```

```jsx
import { ReactLenis, useLenis } from 'libs/lenis'
```

## Props
- `options`: [Lenis options](https://github.com/darkroomengineering/lenis#instance-settings).
- `root`: Lenis will be instanciate using `<html>` scroll. Default: `false`.
Expand Down

1 comment on commit d13bdb3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"⚡️ Lighthouse report for the changes in this commit:

🔴 Performance: 44
🟢 Accessibility: 96
🟠 Best practices: 79
🟢 SEO: 92

Lighthouse ran on https://vercel.com/login?next=%2Fsso-api%3Furl%3Dhttps%253A%252F%252Flenis-p7m000mlb-darkroom-engineering.vercel.app%252F%26nonce%3D2f8d00d62800b0261199ca04477ed2de0271119a243e489f63b1a04d12114144"

Please sign in to comment.