Skip to content

Commit 70232c8

Browse files
committed
docs: add imports
1 parent 745e724 commit 70232c8

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Components
22

3+
All provided React components.
4+
5+
```ts
6+
import { Parallax } from 'react-scroll-parallax';
7+
import { ParallaxBanner } from 'react-scroll-parallax';
8+
import { ParallaxProvider } from 'react-scroll-parallax';
9+
```
10+
11+
## Documentation
12+
313
- [`<Parallax>`](/docs/usage/components/parallax-component)
414
- [`<ParallaxBanner>`](/docs/usage/components/parallax-banner-component)
515
- [`<ParallaxProvider>`](/docs/usage/components/parallax-provider)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
# Hooks
22

3+
All provided React hooks.
4+
5+
```ts
6+
import { useParallax } from 'react-scroll-parallax';
7+
import { useController } from 'react-scroll-parallax';
8+
```
9+
10+
## Documentation
11+
312
- [`useParallax()`](/docs/usage/hooks/use-parallax)
413
- [`useController()`](/docs/usage/hooks/use-controller)

0 commit comments

Comments
 (0)