Skip to content

Commit 7619a36

Browse files
committed
docs(readme): mention peer dependencies
1 parent 445e26c commit 7619a36

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ Add the package with the package manager via NPMs registry of choice to your pro
1111
- **pnpm**: `pnpm add react-section-dividers`
1212
- **npx**: `npx -p react-section-dividers`
1313

14+
Besides `react` and `react-dom` this package has `@emotion/react` as a peer dependency. Make sure it is a dependency of your project:
15+
16+
- **yarn**: `yarn add @emotion/react`
17+
- **npm**: `npm install @emotion/react`
18+
- **pnpm**: `pnpm add @emotion/react`
19+
- **npx**: `npx -p @emotion/react`
20+
1421
## Dividers
1522

1623
### Aslant

0 commit comments

Comments
 (0)