diff --git a/packages/react-sdk/README.md b/packages/react-sdk/README.md index 2a9c61b6..2e60776f 100644 --- a/packages/react-sdk/README.md +++ b/packages/react-sdk/README.md @@ -21,15 +21,24 @@ These hooks are mostly bindings to the [`xmtp-js` SDK](https://github.com/xmtp ## Install +The XMTP React SDK requires React, the XMTP JS SDK, and several content types. + +**NPM** + +```bash +npm install react @xmtp/react-sdk @xmtp/xmtp-js @xmtp/content-type-reaction @xmtp/content-type-remote-attachment @xmtp/content-type-reply +``` + +**PNPM** + ```bash -# npm -npm install @xmtp/react-sdk +pnpm install react @xmtp/react-sdk @xmtp/xmtp-js @xmtp/content-type-reaction @xmtp/content-type-remote-attachment @xmtp/content-type-reply +``` -# pnpm -pnpm install @xmtp/react-sdk +**Yarn** -# yarn -yarn add @xmtp/react-sdk +```bash +yarn add react @xmtp/react-sdk @xmtp/xmtp-js @xmtp/content-type-reaction @xmtp/content-type-remote-attachment @xmtp/content-type-reply ``` ### Buffer polyfill