Skip to content

Commit

Permalink
Recommend pnpm instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed Dec 21, 2024
1 parent c5987f8 commit 38e11d0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@

## Installation

#### With yarn
#### With pnpm

```sh
yarn add react-hot-toast
pnpm add react-hot-toast
```

#### With NPM
Expand Down
4 changes: 2 additions & 2 deletions site/pages/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export default ({ children }) => <Layout meta={meta}>{children}</Layout>;

Add beautiful notifications to your React app with [react-hot-toast](https://github.com/timolins/react-hot-toast).

### Install with Yarn
### Install with pnpm

```sh
yarn add react-hot-toast
pnpm add react-hot-toast
```

### Install with NPM
Expand Down
2 changes: 1 addition & 1 deletion site/pages/docs/version-2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ This example adapts the [ToastBar](/docs/toast-bar) with its new render function
Get react-hot-toast 2.0 while it's hot. Upgrading from 1.0.0 should be seamless for most users.

```sh
yarn add react-hot-toast
pnpm add react-hot-toast
```

## The future and beyond
Expand Down
2 changes: 1 addition & 1 deletion site/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Steps = () => (
subTitle="It weighs less than 5kb"
code={
<code>
<span className="text-toast-600">yarn add</span>{' '}
<span className="text-toast-600">pnpm add</span>{' '}
<span className="text-toast-800">react-hot-toast</span>
</code>
}
Expand Down

0 comments on commit 38e11d0

Please sign in to comment.