DelacourProvider

Every provider an app needs at its root, in one component.

import { DelacourProvider } from "@delacour/native-ui/provider";

<DelacourProvider>{children}</DelacourProvider>;

Four layers, outermost first: GestureHandlerRootViewSafeAreaProviderKeyboardProvider<KeyboardStateSync /> beside the children.

The full explanation — why the order is load-bearing, why the safe-area provider is seeded, why the keyboard sync is required and why the component is deliberately not idempotent — is in Provider.

API

Prop

Type

DelacourProvider has no playground screen and no row on its index. The playground's own _layout.tsx is its harness, and every route in the app renders downstream of it — a stronger check than a readout page could be. The routes that prove each layer: /pressable for the gesture root, /screen/navbar for the insets, /screen/form for the keyboard.

On this page