

# ConfigProviderProps

<div class="api-docs__separator" data-reactroot="">

---

</div><div class="api-docs__import" data-reactroot="">

```ts
import { ConfigProviderProps } from "@hyper-fetch/react"
```

</div><div class="api-docs__section">

## Description

</div><div class="api-docs__description"><span class="api-docs__do-not-parse">



</span></div><p class="api-docs__definition">

Defined in [react/src/config-provider/config-provider.types.ts:22](https://github.com/BetterTyped/hyper-fetch/blob/c3e2c45/packages/react/src/config-provider/config-provider.types.ts#L22)

</p><div class="api-docs__section">

## Preview

</div><div class="api-docs__preview type">

```ts
type ConfigProviderProps = {
  children: React.ReactNode; 
  config: ConfigProviderOptionsType; 
}
```

</div><div class="api-docs__section">

## Structure

</div><div class="api-docs__returns">

```ts
{
  children: React.ReactNode;
  config: {
    useCacheConfig: Partial<UseCacheOptionsType<RequestInstance>>;
    useEmitter: Partial<UseEmitterOptionsType>;
    useEventMessages: Partial<UseEventMessagesOptionsType<SocketResponses>>;
    useFetchConfig: Partial<UseFetchOptionsType<RequestInstance>>;
    useListener: Partial<UseListenerOptionsType>;
    useQueueConfig: Partial<UseQueueOptionsType>;
    useSubmitConfig: Partial<UseSubmitOptionsType<RequestInstance>>;
  };
}
```

</div>