# Function: MincaProvider()

```ts
function MincaProvider(props): ReactElement;
```

Defined in: [packages/react/src/context.ts:62](https://github.com/leifriksheim/minca/blob/main/react/src/context.ts#L62)

Makes Minca available to every component below it, so they ask for what
they need — `useNode()`, `useQuery(space, …)` — instead of having it passed
down.

```tsx
<MincaProvider connection={connection}>   // an app, through an account home
<MincaProvider auth={auth}>               // the home itself
```

## Parameters

| Parameter | Type |
| ------ | ------ |
| `props` | [`MincaProviderProps`](https://minca.dev/api/react/type-aliases/MincaProviderProps.md) |

## Returns

`ReactElement`
