sticky-card-stack 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,8 +20,7 @@ npm install react react-dom gsap lenis
|
|
|
20
20
|
2. Wrap your cards in **`StickCardStack`** and use **`StickCard`** for each card.
|
|
21
21
|
|
|
22
22
|
```tsx
|
|
23
|
-
import { StickCardStack, StickCard, useScrollTrigger } from '
|
|
24
|
-
import 'scs/style.css'; // optional: default card layout and demo styles
|
|
23
|
+
import { StickCardStack, StickCard, useScrollTrigger } from 'sticky-card-stack';
|
|
25
24
|
|
|
26
25
|
function App() {
|
|
27
26
|
useScrollTrigger();
|