Skip to content

Commit

Permalink
docs: adjust welcome pages
Browse files Browse the repository at this point in the history
  • Loading branch information
einaralex committed Aug 28, 2024
1 parent d6df010 commit 98edffb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion apps/developer/docs/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Welcome
# Packages

## [@monerium/sdk](packages/sdk/index.md)

## [@monerium/sdk-react-provider](packages/sdk-react-provider/index.md)
4 changes: 3 additions & 1 deletion apps/developer/docs/packages/sdk-react-provider/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A library to interact with Monerium API with React hooks.

This context provider utilizes React Query for async data fetching and caching.
The MoneriumProvider context provider utilizes React Query for async data fetching and caching.

## Installation

Expand All @@ -16,6 +16,8 @@ Wrap your app in the `QueryClientProvider` React Context Provider and pass a ne

Inside the `QueryClientProvider`, wrap your app in the `MoneriumProvider` React Context Provider and pass the auth flow's `clientId`, `redirectUri`, and `environment` configuration.

Hooks are now accessible in your app.

## Example

```tsx
Expand Down
4 changes: 3 additions & 1 deletion packages/sdk-react-provider/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @packageDocumentation
* A library to interact with Monerium API with React hooks.
*
* This context provider utilizes React Query for async data fetching and caching.
* The MoneriumProvider context provider utilizes React Query for async data fetching and caching.
*
* ## Installation
*
Expand All @@ -16,6 +16,8 @@
*
* Inside the `QueryClientProvider`, wrap your app in the `MoneriumProvider` React Context Provider and pass the auth flow's `clientId`, `redirectUri`, and `environment` configuration.
*
* Hooks are now accessible in your app.
*
* @example
* ```tsx
* import { createRoot } from 'react-dom/client';
Expand Down

0 comments on commit 98edffb

Please sign in to comment.