Skip to main content

ServicesProviderProps

Props for ServicesProvider.

This is an interface exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import type { ServicesProviderProps } from "@mapcairn/map";

interface ServicesProviderProps

Properties​

children​

readonly children: ReactNode;

The app, whose components read the services through the hooks.

services​

readonly services: Services;

Built once by the composition root, or by createFakeServices in tests.

See also​

Source: packages/map/src/services/ServicesProvider.tsx:11